Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve Docker CVEs #815

Merged
merged 10 commits into from
Oct 19, 2022
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16-alpine3.13 AS builder
tspearconquest marked this conversation as resolved.
Show resolved Hide resolved
FROM golang:1.16-alpine3.15 AS builder
tspearconquest marked this conversation as resolved.
Show resolved Hide resolved
ARG VERSION

RUN apk add --no-cache git gcc musl-dev make
Expand All @@ -15,7 +15,7 @@ COPY . ./

RUN make build-docker

FROM alpine:3.13
FROM alpine:3.16

RUN apk add --no-cache ca-certificates

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.github-actions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.13
FROM alpine:3.16

RUN apk add --no-cache ca-certificates

Expand All @@ -8,4 +8,4 @@ RUN ln -s /usr/local/bin/migrate /usr/bin/migrate
RUN ln -s /usr/local/bin/migrate /migrate

ENTRYPOINT ["migrate"]
CMD ["--help"]
CMD ["--help"]