diff --git a/Dockerfile b/Dockerfile index ce4e20fd8..1e1449d79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ COPY . ./ RUN CGO_ENABLED=0 go build -a -o build/migrate.linux-386 -ldflags="-s -w -X main.Version=${VERSION}" -tags "$(DATABASE) $(SOURCE)" ./cmd/migrate -FROM alpine:latest +FROM alpine:3.18 COPY --from=builder /go/src/github.com/infobloxopen/migrate/cmd/migrate/config /cli/config/ COPY --from=builder /go/src/github.com/infobloxopen/migrate/build/migrate.linux-386 /usr/local/bin/migrate diff --git a/Dockerfile.github-actions b/Dockerfile.github-actions index 061210d74..c9723c38c 100644 --- a/Dockerfile.github-actions +++ b/Dockerfile.github-actions @@ -1,4 +1,4 @@ -FROM alpine:latest +FROM alpine:3.18 RUN apk add --no-cache ca-certificates