From f6d3dffede4d282723633fc069abfd2453d95424 Mon Sep 17 00:00:00 2001 From: ononoki Date: Thu, 26 May 2022 09:10:47 +0000 Subject: [PATCH] From bullseye to bookworm (#21) * Change Dockerfile to bookworm-slim * Update test when Dockerfile changes * Update build when Dockerfile changes * Remove apostrophe of Dockerfile in test --- .github/workflows/build.yml | 4 +++- .github/workflows/test.yml | 4 +++- Dockerfile | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 75b4c45..1f86790 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,9 @@ on: - cron: '0 * * * *' push: branches: [ main ] - paths: [ '**.sh' ] + paths: + - '**.sh' + - Dockerfile workflow_dispatch: jobs: build: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 63b60e1..15c1e3e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,9 @@ name: test on: push: branches-ignore: [ main ] - paths: [ '**.sh' ] + paths: + - '**.sh' + - Dockerfile workflow_dispatch: jobs: test: diff --git a/Dockerfile b/Dockerfile index f88559b..739aa80 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ -FROM debian:bullseye +FROM debian:bookworm-slim COPY build.sh /build.sh ENTRYPOINT ["bash", "/build.sh"]