We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fa14e3 commit be7ac3dCopy full SHA for be7ac3d
workflows/github/versions/0.0.5/images/create-pr/Dockerfile
@@ -1,3 +1,4 @@
1
-FROM debian:stable-slim
2
-RUN apt update -y && apt install git curl hub=2.14.2~ds1-1+b4 -y && rm -rf /var/lib/apt/lists/*
+FROM --platform=$BUILDPLATFORM debian:stable-slim
+ARG TARGETARCH=amd64
3
+RUN apt update -y && apt install git curl -y && curl -L "https://github.com/mislav/hub/releases/download/v2.14.2/hub-linux-${TARGETARCH}-2.14.2.tgz" --output /tmp/hub.tar.gz && tar -xvf /tmp/hub.tar.gz -C /tmp && mv /tmp/hub-linux-${TARGETARCH}-2.14.2/bin/hub /usr/local/bin/ && rm -rf /tmp/hub* && rm -rf /var/lib/apt/lists/*
4
ENTRYPOINT hub
0 commit comments