Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
fix: binary builds with CGO enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgacsal committed Feb 15, 2024
1 parent 260a465 commit 09bc324
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Dockerfile.apiserver
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ RUN xx-verify /bin/vmclarity-apiserver

FROM alpine:3.19@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b

RUN apk add --update --no-cache \
ca-certificates \
libc6-compat

COPY --from=builder ["/bin/vmclarity-apiserver", "/bin/vmclarity-apiserver"]

ENTRYPOINT ["/bin/vmclarity-apiserver"]
3 changes: 2 additions & 1 deletion Dockerfile.cli
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ RUN apk upgrade --quiet --no-cache

RUN apk add --update --no-cache \
util-linux \
ca-certificates
ca-certificates \
libc6-compat

COPY --from=builder /bin/vmclarity-cli /bin/vmclarity-cli

Expand Down
4 changes: 4 additions & 0 deletions Dockerfile.cr-discovery-server
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@ FROM alpine:3.19@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761

COPY --from=builder ["/bin/vmclarity-cr-discovery-server", "/bin/vmclarity-cr-discovery-server"]

RUN apk add --update --no-cache \
ca-certificates \
libc6-compat

ENTRYPOINT ["/bin/vmclarity-cr-discovery-server"]
4 changes: 4 additions & 0 deletions Dockerfile.orchestrator
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@ FROM alpine:3.19@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761

COPY --from=builder ["/bin/vmclarity-orchestrator", "/bin/vmclarity-orchestrator"]

RUN apk add --update --no-cache \
ca-certificates \
libc6-compat

ENTRYPOINT ["/bin/vmclarity-orchestrator"]
4 changes: 4 additions & 0 deletions Dockerfile.uibackend
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ FROM alpine:3.19@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761

COPY --from=builder ["/bin/vmclarity-ui-backend", "/bin/vmclarity-ui-backend"]

RUN apk add --update --no-cache \
ca-certificates \
libc6-compat

ENTRYPOINT ["/bin/vmclarity-ui-backend"]

CMD ["--help"]

0 comments on commit 09bc324

Please sign in to comment.