Skip to content

Commit

Permalink
feat: install air and update gopath
Browse files Browse the repository at this point in the history
  • Loading branch information
deviantony committed Jul 11, 2023
1 parent 2429140 commit 4df5098
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ RUN cd /tmp \
&& mv go /usr/local

# Configuring Golang
ENV PATH "$PATH:/usr/local/go/bin"
ENV PATH "$PATH:/usr/local/go/bin:/root/go/bin"

# Install VSCode extensions

Expand Down
3 changes: 3 additions & 0 deletions user-toolkits/alapenna/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ RUN mkdir -p /root/.docker/cli-plugins/ && \
curl -SL https://github.com/docker/compose/releases/latest/download/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose && \
chmod +x ~/.docker/cli-plugins/docker-compose

## Install air
RUN go install github.com/cosmtrek/air@latest

# Configure git to use SSH
# This is useful to retrieve private Go packages
# Note: this has to be done as one of the last steps in the image build process as it can
Expand Down

0 comments on commit 4df5098

Please sign in to comment.