Making base act runner for building other custom containers.
All checks were successful
build-publish / docker (push) Successful in 1m43s
All checks were successful
build-publish / docker (push) Successful in 1m43s
This commit is contained in:
parent
d44cd1fdbf
commit
48afbfe35d
18
Dockerfile
18
Dockerfile
@ -4,17 +4,25 @@ FROM debian:trixie-slim
|
||||
ARG VERSION=dev
|
||||
ARG VCS_REF=unknown
|
||||
ARG BUILD_DATE=unknown
|
||||
ARG NODE_VERSION=24.14.1
|
||||
|
||||
LABEL org.opencontainers.image.title="container-build-publish" \
|
||||
LABEL org.opencontainers.image.title="base-act" \
|
||||
org.opencontainers.image.version="${VERSION}" \
|
||||
org.opencontainers.image.revision="${VCS_REF}" \
|
||||
org.opencontainers.image.created="${BUILD_DATE}" \
|
||||
org.opencontainers.image.source="https://git.abutili.net/templates/container-build-publish"
|
||||
org.opencontainers.image.source="https://git.abutili.net/images/base-act"
|
||||
|
||||
# install system deps
|
||||
#RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
# ca-certificates curl bash jq xz-utils git \
|
||||
# && rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
ca-certificates curl bash jq xz-utils git openssh-client \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN set -eux; \
|
||||
ARCH="x64"; \
|
||||
curl -fsSLO "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${ARCH}.tar.xz"; \
|
||||
tar -xJf "node-v${NODE_VERSION}-linux-${ARCH}.tar.xz" -C /usr/local --strip-components=1; \
|
||||
rm "node-v${NODE_VERSION}-linux-${ARCH}.tar.xz"; \
|
||||
node --version; npm --version
|
||||
|
||||
# install app
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user