Skip to content

Commit

Permalink
fix version var
Browse files Browse the repository at this point in the history
  • Loading branch information
gregnuj committed Sep 20, 2023
1 parent 97f260d commit df3f510
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions alpine.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
ARG GO_VERSION="1.20.8"
ARG DISTRO_VERSION="3.18"
ARG BUILDPLATFORM=linux/amd64

################################################################################
FROM --platform=${BUILDPLATFORM} golang:${GO_VERSION}-alpine as base
FROM --platform=${BUILDPLATFORM} golang:${GO_VERSION}-alpine${DISTRO_VERSION} as base

# NOTE: add libusb-dev to run with LEDGER_ENABLED=true
RUN set -eux &&\
Expand Down Expand Up @@ -73,7 +74,7 @@ RUN set -eux && \
# (file ${GOPATH}/bin/${BIN_NAME} | grep "statically linked")

################################################################################
FROM --platform=${BUILDPLATFORM} alpine:${OS_VERESION} as prod
FROM --platform=${BUILDPLATFORM} alpine:${DISTRO_VERSION} as prod

# build args passed down to env var

Expand Down

0 comments on commit df3f510

Please sign in to comment.