Skip to content

Commit

Permalink
Update Alpine base image (#30)
Browse files Browse the repository at this point in the history
* use version 3.13.6 of alpine to stay up to date

* use version 1.16.7 of golang to stay up to date

remove -i from go build as it's deprecated, see https://golang.org/doc/go1.16#i-flag

* Update Dockerfile

* revert go changes

Co-authored-by: Sergei Egorov <[email protected]>
  • Loading branch information
dbyron-sf and bsideup authored Sep 6, 2021
1 parent 17aa71c commit 212ef88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN go mod download
COPY . ./
RUN make build

FROM alpine:3.9
FROM alpine:3.13.6
RUN apk --no-cache add ca-certificates
COPY --from=workspace /go/src/github.com/testcontainers/moby-ryuk/bin/moby-ryuk /app
CMD ["/app"]
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ lint:

test:
go test $(SOURCE_FOLDER)/...

0 comments on commit 212ef88

Please sign in to comment.