From 3fe9972ec226fd9519c9bd266e823fa818e01914 Mon Sep 17 00:00:00 2001 From: Ying Chen <108433798+ychen-bloxer@users.noreply.github.com> Date: Mon, 23 Oct 2023 15:12:59 -0700 Subject: [PATCH] specify the alpine version --- Dockerfile | 2 +- Dockerfile.github-actions | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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