We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b7315e commit 215f874Copy full SHA for 215f874
Dockerfile
@@ -1,9 +1,8 @@
1
-FROM --platform=${BUILDPLATFORM} alpine:3 AS tools
+FROM --platform=${BUILDPLATFORM} busybox:stable AS tools
2
ARG SQLCMD_VERSION=v1.9.0
3
ARG TARGETARCH
4
-RUN apk add --update-cache --no-cache curl jq xz && \
5
- curl -sSL https://github.com/microsoft/go-sqlcmd/releases/download/${SQLCMD_VERSION}/sqlcmd-linux-${TARGETARCH}.tar.bz2 \
6
- | tar -xj
+ADD https://github.com/microsoft/go-sqlcmd/releases/download/${SQLCMD_VERSION}/sqlcmd-linux-${TARGETARCH}.tar.bz2 sqlcmd.tar.bz2
+RUN tar -xvf sqlcmd.tar.bz2
7
8
FROM gcr.io/distroless/static:nonroot@sha256:e8a4044e0b4ae4257efa45fc026c0bc30ad320d43bd4c1a7d5271bd241e386d0
9
COPY --from=tools /sqlcmd /sqlcmd
0 commit comments