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 0e32f6e commit a9b5eb8Copy full SHA for a9b5eb8
apk/Dockerfile-alpine
@@ -20,3 +20,10 @@ RUN apk update && \
20
apk add --update -U python3 python3-dev py3-pip libffi-dev gcc linux-headers musl-dev openssl-dev
21
22
RUN echo "auth sufficient pam_shells.so" > /etc/pam.d/chsh
23
+
24
+# Add a wrapper script to authenticate curl requests when directed to GitHub API
25
+COPY bin/curl-auth /usr/local/bin/curl-auth
26
+RUN real_curl="$(which curl)" && \
27
+ mv "${real_curl}" "${real_curl}".real && \
28
+ mv /usr/local/bin/curl-auth "${real_curl}" && \
29
+ chmod +x "${real_curl}"
0 commit comments