add kustomize to PATH

This commit is contained in:
Christopher Montoro
2020-12-13 18:03:35 -05:00
parent cc43a2d732
commit b97e59c57e

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"]