Initial commit.
All checks were successful
multi-semantic-release / multi-semantic-release (push) Successful in 13s
All checks were successful
multi-semantic-release / multi-semantic-release (push) Successful in 13s
This commit is contained in:
commit
78adac8d17
9 changed files with 310 additions and 0 deletions
43
alpine-mixinet/Dockerfile
Normal file
43
alpine-mixinet/Dockerfile
Normal file
|
@ -0,0 +1,43 @@
|
|||
# Image used to run actions on forgejo.mixinet.net that don't need nodejs
|
||||
|
||||
# This arg could be passed by the container build command (used with mirrors)
|
||||
ARG OCI_REGISTRY_PREFIX
|
||||
|
||||
# Latest tested version of alpine
|
||||
FROM ${OCI_REGISTRY_PREFIX}alpine:3.21.3
|
||||
|
||||
# Tool versions
|
||||
ARG REGCLIENT_VERS=0.8.2
|
||||
ARG TMPL_VERSION=0.4.0-sto.3
|
||||
|
||||
# Update dist & install commands and non packaged tools
|
||||
RUN apk update &&\
|
||||
apk upgrade &&\
|
||||
apk add \
|
||||
bash \
|
||||
ca-certificates \
|
||||
curl \
|
||||
docker-cli \
|
||||
gettext-envsubst \
|
||||
git \
|
||||
jq \
|
||||
openssl \
|
||||
openssh-keygen \
|
||||
yq \
|
||||
zip \
|
||||
&&\
|
||||
rm -rf /var/cache/apk/* &&\
|
||||
case "$(apk --print-arch)" in "aarch64") ARCH="arm64";; "x86_64") ARCH="amd64";; esac && \
|
||||
for app in regctl regsync; do \
|
||||
REGCLIENT_URL="https://github.com/regclient/regclient/releases/download/v${REGCLIENT_VERS}/${app}-linux-$ARCH"; \
|
||||
curl -fsSL -o "/tmp/$app" "$REGCLIENT_URL";\
|
||||
install /tmp/$app /usr/local/bin;\
|
||||
rm -f /tmp/$app; \
|
||||
done &&\
|
||||
TMPL_URL="https://github.com/sto/tmpl/releases/download/v${TMPL_VERSION}/tmpl-linux_$ARCH" &&\
|
||||
curl -fsSL -o "/tmp/tmpl" "$TMPL_URL" &&\
|
||||
install /tmp/tmpl /usr/local/bin &&\
|
||||
rm -f /tmp/tmpl
|
||||
|
||||
# Set the entrypoint to /bin/sh
|
||||
CMD ["/bin/sh"]
|
Loading…
Add table
Add a link
Reference in a new issue