Skip to content
Snippets Groups Projects
Unverified Commit d2d0d4a1 authored by Mark Sagi-Kazar's avatar Mark Sagi-Kazar
Browse files

chore(docker): reorder instructions in build image

parent a33669e3
No related branches found
No related tags found
No related merge requests found
FROM golang:1.15.7-alpine3.13 AS builder
WORKDIR /usr/local/src/dex
RUN apk add --no-cache --update alpine-sdk
ARG TARGETOS
ARG TARGETARCH
ARG TARGETVARIANT=""
WORKDIR /usr/local/src/dex
ENV GOOS=${TARGETOS} \
GOARCH=${TARGETARCH} \
GOARM=${TARGETVARIANT}
RUN apk add --no-cache --update alpine-sdk
ENV GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOARM=${TARGETVARIANT}
ARG GOPROXY
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment