Skip to content

Commit

Permalink
adding test for docker arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Allen committed May 29, 2021
1 parent f1a79f1 commit 734dbf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker/gap8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
ARG GAP_SDK_VERSION
RUN echo $GAP_SDK_VERSION
RUN test -n "$GAP_SDK_VERSION"

# Install needed packages
RUN apt-get update && apt-get install -y build-essential git libftdi-dev libftdi1 doxygen python3-pip libsdl2-dev curl cmake libusb-1.0-0-dev scons gtkwave libsndfile1-dev rsync autoconf automake texinfo libtool pkg-config libsdl2-ttf-dev
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/docker-gap8.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo 'export GAP_SDK_VERSION=3.8.1' >> ~/.bashrc
_Note: if you would like to also build docker images for SDK version 3.4, 3.5, 3.6 or 3.7, just replace the previous version number. The build process will checkout the right version of the SDK_

```
docker build --tag gapsdk:${GAP_SDK_VERSION} --build-arg GAP_SDK_VERSION .
docker build --tag gapsdk:${GAP_SDK_VERSION} --build-arg GAP_SDK_VERSION=$GAP_SDK_VERSION .
```

Open up the container to install the auto tiler
Expand Down

0 comments on commit 734dbf4

Please sign in to comment.