All checks were successful
docker-node image / build (arm64) (push) Successful in 48s
node-python image / build (arm64) (push) Successful in 1m3s
docker-node image / build (amd64) (push) Successful in 3m18s
node-python image / build (amd64) (push) Successful in 3m7s
docker-node image / amend-manifest (push) Successful in 15s
node-python image / amend-manifest (push) Successful in 5s
21 lines
833 B
Docker
21 lines
833 B
Docker
FROM node:24-slim
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive \
|
|
DOCKER_HOST=unix:///var/run/docker.sock
|
|
|
|
# Cài git + Docker CLI (repo chính thức Docker)
|
|
RUN set -eux; \
|
|
apt-get update; \
|
|
apt-get install -y --no-install-recommends ca-certificates curl gnupg lsb-release git; \
|
|
install -m 0755 -d /etc/apt/keyrings; \
|
|
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc; \
|
|
chmod a+r /etc/apt/keyrings/docker.asc; \
|
|
. /etc/os-release; \
|
|
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian ${VERSION_CODENAME} stable" \
|
|
> /etc/apt/sources.list.d/docker.list; \
|
|
apt-get update; \
|
|
apt-get install -y --no-install-recommends docker-ce-cli; \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|