feat: update workflows and Dockerfiles for node-go, node-python, and docker-node images
docker-node image / build (arm64) (push) Successful in 15s
node-go image / build (arm64) (push) Successful in 16s
node-go image / build (amd64) (push) Successful in 7s
docker-node image / build (amd64) (push) Successful in 48s
node-python image / build (amd64) (push) Successful in 8s
docker-node image / amend-manifest (push) Successful in 5s
node-python image / build (arm64) (push) Successful in 15s
node-go image / amend-manifest (push) Successful in 15s
node-python image / amend-manifest (push) Successful in 14s
docker-node image / build (arm64) (push) Successful in 15s
node-go image / build (arm64) (push) Successful in 16s
node-go image / build (amd64) (push) Successful in 7s
docker-node image / build (amd64) (push) Successful in 48s
node-python image / build (amd64) (push) Successful in 8s
docker-node image / amend-manifest (push) Successful in 5s
node-python image / build (arm64) (push) Successful in 15s
node-go image / amend-manifest (push) Successful in 15s
node-python image / amend-manifest (push) Successful in 14s
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
FROM node:lts-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
|
||||
Reference in New Issue
Block a user