Skip to content

Commit

Permalink
Merge pull request #6 from MrSaints/update-multiarch-support
Browse files Browse the repository at this point in the history
Specify ENV Path for pkger for failing CI
  • Loading branch information
MrSaints committed Nov 9, 2023
2 parents a9ca45f + fa2fbda commit 80ffc1c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN apk add --no-cache build-base curl

ENV GO111MODULE on
ENV GOPROXY https://proxy.golang.org
ENV PATH="${PATH}:/go/bin"

COPY go.mod go.sum /kubeseal-web/

Expand All @@ -27,6 +28,8 @@ ARG TARGETARCH

COPY ./ /kubeseal-web/

ENV PATH="${PATH}:/go/bin"

RUN mkdir /build/ \
&& pkger -include /static/ \
&& rm -rf /kubeseal-web/static/ \
Expand All @@ -49,7 +52,7 @@ RUN wget https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.17.
&& tar -xzf kubeseal.tar.gz -C /tmp/ \
&& install -m 755 /tmp/kubeseal /usr/local/bin/kubeseal \
&& rm -rf kubeseal.tar.gz /tmp/kubeseal

COPY --from=build /build/kubeseal-web /kubeseal-web/run

ARG BUILD_VERSION
Expand Down

0 comments on commit 80ffc1c

Please sign in to comment.