Fix dockerfile #2
Some checks failed
CI/CD Pipeline with Secure Ephemeral PiP / test-backend (push) Failing after 47s
CI/CD Pipeline with Secure Ephemeral PiP / test-frontend (push) Has been skipped
CI/CD Pipeline with Secure Ephemeral PiP / build-backend (push) Has been skipped
CI/CD Pipeline with Secure Ephemeral PiP / build-frontend (push) Has been skipped
CI/CD Pipeline with Secure Ephemeral PiP / deploy-prod (push) Has been skipped
Some checks failed
CI/CD Pipeline with Secure Ephemeral PiP / test-backend (push) Failing after 47s
CI/CD Pipeline with Secure Ephemeral PiP / test-frontend (push) Has been skipped
CI/CD Pipeline with Secure Ephemeral PiP / build-backend (push) Has been skipped
CI/CD Pipeline with Secure Ephemeral PiP / build-frontend (push) Has been skipped
CI/CD Pipeline with Secure Ephemeral PiP / deploy-prod (push) Has been skipped
This commit is contained in:
parent
60887a9e3f
commit
7a22605d2b
1 changed files with 6 additions and 6 deletions
|
@ -1,12 +1,12 @@
|
|||
FROM node:20-bookworm-slim
|
||||
|
||||
# Essentials for CI steps
|
||||
# essentials your CI uses
|
||||
RUN set -eux; \
|
||||
apt-get update; \
|
||||
apt-get install -y --no-install-recommends ca-certificates curl git jq; \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install a recent podman-remote and alias as "podman"
|
||||
# install podman remote client and expose it as "podman"
|
||||
ARG PODMAN_REMOTE_VERSION=5.2.3
|
||||
RUN set -eux; \
|
||||
arch="$(dpkg --print-architecture)"; \
|
||||
|
@ -15,13 +15,13 @@ RUN set -eux; \
|
|||
curl -fsSL -o /tmp/podman-remote.tgz "$url"; \
|
||||
mkdir -p /tmp/podman-remote; \
|
||||
tar -xzf /tmp/podman-remote.tgz -C /tmp/podman-remote; \
|
||||
bin="$(find /tmp/podman-remote -type f -name podman-remote -print -quit)"; \
|
||||
test -n "$bin" || { echo "podman-remote binary not found in archive"; exit 1; }; \
|
||||
bin="$(find /tmp/podman-remote -type f \( -name podman-remote -o -name podman \) -perm -111 -print -quit)"; \
|
||||
test -n "$bin" || { echo "podman(-remote) binary not found in archive"; ls -R /tmp/podman-remote; exit 1; }; \
|
||||
install -m0755 "$bin" /usr/local/bin/podman-remote; \
|
||||
ln -sf /usr/local/bin/podman-remote /usr/local/bin/podman; \
|
||||
/usr/local/bin/podman --version; \
|
||||
rm -rf /tmp/podman-remote /tmp/podman-remote.tgz
|
||||
|
||||
# Default to the host’s rootless socket
|
||||
# defaults for your runner’s rootless socket
|
||||
ENV XDG_RUNTIME_DIR=/run/user/999
|
||||
ENV CONTAINER_HOST=unix:///run/user/999/podman/podman.sock
|
||||
|
|
Loading…
Add table
Reference in a new issue