diff --git a/Dockerfile.dapper b/Dockerfile.dapper index ec7b2db8..7a14540b 100644 --- a/Dockerfile.dapper +++ b/Dockerfile.dapper @@ -1,7 +1,7 @@ FROM golang:1.22-alpine3.21 ARG DAPPER_HOST_ARCH -ENV ARCH $DAPPER_HOST_ARCH +ENV ARCH=$DAPPER_HOST_ARCH RUN apk -U add bash git gcc musl-dev docker vim less file curl wget ca-certificates RUN GOPROXY=direct go install golang.org/x/tools/cmd/goimports@gopls/v0.16.2 @@ -12,10 +12,10 @@ RUN if [ "${ARCH}" == "amd64" ]; then \ fi ENV DAPPER_ENV REPO TAG DRONE_TAG -ENV DAPPER_SOURCE /go/src/github.com/k3s-io/helm-controller/ +ENV DAPPER_SOURCE=/go/src/github.com/k3s-io/helm-controller/ ENV DAPPER_OUTPUT ./bin ./dist -ENV DAPPER_DOCKER_SOCKET true -ENV HOME ${DAPPER_SOURCE} +ENV DAPPER_DOCKER_SOCKET=true +ENV HOME=${DAPPER_SOURCE} WORKDIR ${DAPPER_SOURCE} ENTRYPOINT ["./scripts/entry"]