Skip to content

Commit

Permalink
Fixed builds #2213
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasdille committed Jan 2, 2024
1 parent 2b65e4b commit 4dc387b
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion tools/sbom-operator/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \
/etc/profile.d/ \
/etc/profile.d/
SHELL [ "bash", "-clo", "errexit" ]
COPY --link --from=cosign / /
COPY --link --from=cosign / /usr/local/
ARG name
ARG version
RUN <<EOF
Expand Down
2 changes: 1 addition & 1 deletion tools/sbom2dot/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SHELL [ "bash", "-clo", "errexit" ]
ARG name
ARG version
#COPY --link --from=python / /usr/local/
COPY --link --from=shiv / /
COPY --link --from=shiv / /usr/local/
RUN <<EOF
apt-get update
apt-get -y install --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion tools/sbomdiff/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \
/etc/profile.d/
SHELL [ "bash", "-clo", "errexit" ]
#COPY --link --from=python / /usr/local/
COPY --link --from=shiv / /
COPY --link --from=shiv / /usr/local/
RUN <<EOF
apt-get update
apt-get -y install --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion tools/sbomtools/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \
/etc/profile.d/
SHELL [ "bash", "-clo", "errexit" ]
#COPY --link --from=python / /usr/local/
COPY --link --from=shiv / /
COPY --link --from=shiv / /usr/local/
RUN <<EOF
apt-get update
apt-get -y install --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion tools/semgrep/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ apt-get -y install --no-install-recommends \
python3-venv \
python-is-python3
EOF
WORKDIR ${prefix}/libexec/semgrep
WORKDIR /uniget_bootstrap/libexec/semgrep
RUN <<EOF
#shiv --output-file "${prefix}/bin/semgrep" --console-script semgrep "semgrep==${version}"
python -m venv "${prefix}/libexec/semgrep"
Expand Down
6 changes: 3 additions & 3 deletions tools/serverless/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \
SHELL [ "bash", "-clo", "errexit" ]
ARG name
ARG version
COPY --link --from=nodejs / /
COPY --link --from=npm / /
WORKDIR ${prefix}/libexec/serverless
COPY --link --from=nodejs / /usr/local/
COPY --link --from=npm / /usr/local/
WORKDIR /uniget_bootstrap/libexec/serverless
ARG name
ARG version
RUN <<EOF
Expand Down
2 changes: 1 addition & 1 deletion tools/shell-gpt/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ EOF
ARG name
ARG version
#COPY --link --from=python / /usr/local/
COPY --link --from=shiv / /
COPY --link --from=shiv / /usr/local/
RUN <<EOF
shiv --output-file "${prefix}/bin/sgpt" --console-script sgpt "shell-gpt==${version}"
EOF
2 changes: 1 addition & 1 deletion tools/shellcheck/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \
/etc/profile.d/ \
/etc/profile.d/
SHELL [ "bash", "-clo", "errexit" ]
COPY --from=go-md2man / /
COPY --from=go-md2man / /usr/local/
ARG name
ARG version
RUN <<EOF
Expand Down
4 changes: 2 additions & 2 deletions tools/skopeo/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \
/etc/profile.d/ \
/etc/profile.d/
SHELL [ "bash", "-clo", "errexit" ]
COPY --link --from=go / /
COPY --link --from=go-md2man / /
COPY --link --from=go / /usr/local/
COPY --link --from=go-md2man / /usr/local/
ARG name
ARG version
RUN <<EOF
Expand Down
4 changes: 2 additions & 2 deletions tools/sloop/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \
/etc/profile.d/ \
/etc/profile.d/
SHELL [ "bash", "-clo", "errexit" ]
COPY --link --from=go / /
COPY --link --from=make / /
COPY --link --from=go / /usr/local/
COPY --link --from=make / /usr/local/
WORKDIR /go/src/github.com/salesforce/sloop
ARG name
ARG version
Expand Down
2 changes: 1 addition & 1 deletion tools/stdin-spinner/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \
/etc/profile.d/ \
/etc/profile.d/
SHELL [ "bash", "-clo", "errexit" ]
COPY --link --from=go / /
COPY --link --from=go / /usr/local/
WORKDIR /go/src/github.com/sgreben/stdin-spinner
ARG name
ARG version
Expand Down

0 comments on commit 4dc387b

Please sign in to comment.