simplified
Some checks failed
/ deploy (push) Has been cancelled

This commit is contained in:
Zi Gao 2025-06-09 00:47:22 +10:00
parent b4b968a13b
commit 90937c029f
2 changed files with 2 additions and 5 deletions

View file

@ -7,8 +7,6 @@ jobs:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
steps:
- name: checkout
uses: actions/checkout@v4
- name: build and publish
uses: docker/build-push-action@v6
with:

View file

@ -11,10 +11,9 @@ RUN apt-get update && apt-get install -qy --no-install-recommends \
chmod a+r /etc/apt/keyrings/docker.asc && \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null && \
curl -sL https://deb.nodesource.com/setup_23.x | sudo bash - && \
apt-get update && \
apt-get install -qy --no-install-recommends docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin && \
curl -sL https://deb.nodesource.com/setup_23.x | sudo bash - && \
apt-get install -qy --no-install-recommends nodejs && \
apt-get install -qy --no-install-recommends nodejs docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin && \
rm -rf /var/lib/apt/lists/* /var/log/*.log /usr/share/doc/* /usr/share/info/* /usr/share/linda/* /usr/share/lintian/overrides/* /usr/share/man/* /etc/cron.daily/* /etc/cron.d/* && \
curl -fsSL https://dl.google.com/go/go1.24.4.linux-amd64.tar.gz | tar -C /usr/local -xz