Merge pull request #3349 from montmanu/update-docker-path

add kustomize to PATH
This commit is contained in:
Donny Xia
2020-12-14 10:12:45 -08:00
committed by GitHub

View File

@@ -3,7 +3,7 @@ FROM golang:alpine as builder
ARG VERSION
ARG COMMIT
ARG DATE
RUN mkdir /build
RUN mkdir /build
ADD . /build/
WORKDIR /build/kustomize
RUN CGO_ENABLED=0 GO111MODULE=on go build \
@@ -17,4 +17,5 @@ FROM alpine
RUN apk add git openssh
COPY --from=builder /build/kustomize /app/
WORKDIR /app
ENV PATH "$PATH:/app"
ENTRYPOINT ["/app/kustomize"]