From 3c94245f5497506e178df8580539796e6c2d6cec Mon Sep 17 00:00:00 2001 From: Dzmitry Rudnouski Date: Thu, 24 Nov 2022 18:06:08 +0300 Subject: [PATCH 1/2] startup test --- .github/workflows/pr.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 2eb5663..bfe6afd 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -20,6 +20,8 @@ jobs: run: | docker build -t $DOCKERHUB_URL:$TAG -f Dockerfile-$TAG . docker image ls + docker run -d $DOCKERHUB_URL:$TAG + docker ps -a ubuntu-14_04: runs-on: ubuntu-latest steps: @@ -46,6 +48,8 @@ jobs: run: | docker build -t $DOCKERHUB_URL:$TAG -f Dockerfile-$TAG . docker image ls + docker run -d $DOCKERHUB_URL:$TAG + docker ps -a ubuntu-18_04: runs-on: ubuntu-latest steps: @@ -59,6 +63,8 @@ jobs: run: | docker build -t $DOCKERHUB_URL:$TAG -f Dockerfile-$TAG . docker image ls + docker run -d $DOCKERHUB_URL:$TAG + docker ps -a ubuntu-20_04: runs-on: ubuntu-latest steps: @@ -72,6 +78,8 @@ jobs: run: | docker build -t $DOCKERHUB_URL:$TAG -f Dockerfile-$TAG . docker image ls + docker run -d $DOCKERHUB_URL:$TAG + docker ps -a ubuntu-22_04: runs-on: ubuntu-latest steps: @@ -85,3 +93,6 @@ jobs: run: | docker build -t $DOCKERHUB_URL:$TAG -f Dockerfile-$TAG . docker image ls + docker run -d $DOCKERHUB_URL:$TAG + docker ps -a + From 8927298a6898377d7d77bd769b45c6559ff23815 Mon Sep 17 00:00:00 2001 From: Dzmitry Rudnouski Date: Thu, 24 Nov 2022 18:18:04 +0300 Subject: [PATCH 2/2] fix ubuntu 20, ubuntu 22 --- .github/workflows/pr.yml | 3 ++- Dockerfile-ubuntu-20.04 | 2 +- Dockerfile-ubuntu-22.04 | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index bfe6afd..8650aa7 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -35,6 +35,8 @@ jobs: run: | docker build -t $DOCKERHUB_URL:$TAG -f Dockerfile-$TAG . docker image ls + docker run -d $DOCKERHUB_URL:$TAG + docker ps -a ubuntu-16_04: runs-on: ubuntu-latest steps: @@ -95,4 +97,3 @@ jobs: docker image ls docker run -d $DOCKERHUB_URL:$TAG docker ps -a - diff --git a/Dockerfile-ubuntu-20.04 b/Dockerfile-ubuntu-20.04 index 8c7fdc2..39c9c14 100644 --- a/Dockerfile-ubuntu-20.04 +++ b/Dockerfile-ubuntu-20.04 @@ -30,4 +30,4 @@ STOPSIGNAL SIGRTMIN+3 VOLUME [ "/sys/fs/cgroup" ] -ENTRYPOINT ["/sbin/init"] +ENTRYPOINT ["/bin/bash"] diff --git a/Dockerfile-ubuntu-22.04 b/Dockerfile-ubuntu-22.04 index 3e0bc8c..1502cc0 100644 --- a/Dockerfile-ubuntu-22.04 +++ b/Dockerfile-ubuntu-22.04 @@ -30,4 +30,4 @@ STOPSIGNAL SIGRTMIN+3 VOLUME [ "/sys/fs/cgroup" ] -ENTRYPOINT ["/sbin/init"] +ENTRYPOINT ["/bin/bash"]