This commit is contained in:
Zi Gao 2025-06-09 00:21:51 +10:00
parent 452f67d28c
commit 4dbae69372
2 changed files with 6 additions and 3 deletions

View file

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

View file

@ -15,4 +15,7 @@ RUN apt-get update && apt-get install -qy --no-install-recommends \
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_22.x | sudo bash - && \
apt-get install -qy --no-install-recommends nodejs && \
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/*
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
ENV PATH /usr/local/go/bin:$PATH