Skip to content

Commit

Permalink
Merge pull request #400 from mmd-osm/patch/dockertest
Browse files Browse the repository at this point in the history
Docker image smoke test
  • Loading branch information
mmd-osm committed Apr 23, 2024
2 parents 6c0c600 + c9d3ed2 commit ee804f6
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 8 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/docker_2004.yml
Expand Up @@ -7,9 +7,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- name: Build Docker images
uses: docker/build-push-action@v5
with:
file: docker/ubuntu/Dockerfile
file: docker/ubuntu/Dockerfile
load: true
tags: cgimap:2004
- name: Running Docker image
run: |
docker run --entrypoint /bin/bash cgimap:2004 -c "/usr/local/bin/openstreetmap-cgimap --help"
10 changes: 8 additions & 2 deletions .github/workflows/docker_2204.yml
Expand Up @@ -7,9 +7,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- name: Build Docker images
uses: docker/build-push-action@v5
with:
file: docker/ubuntu/Dockerfile2204
file: docker/ubuntu/Dockerfile2204
load: true
tags: cgimap:2204
- name: Running Docker image
run: |
docker run --entrypoint /bin/bash cgimap:2204 -c "/usr/local/bin/openstreetmap-cgimap --help"
9 changes: 7 additions & 2 deletions .github/workflows/docker_bookworm.yml
Expand Up @@ -7,10 +7,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- name: Build Docker images
uses: docker/build-push-action@v5
with:
file: docker/debian/Dockerfile_bookworm

load: true
tags: cgimap:bookworm
- name: Running Docker image
run: |
docker run --entrypoint /bin/bash cgimap:bookworm -c "/usr/local/bin/openstreetmap-cgimap --help"
8 changes: 7 additions & 1 deletion .github/workflows/docker_trixie.yml
Expand Up @@ -7,10 +7,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- name: Build Docker images
uses: docker/build-push-action@v5
with:
file: docker/debian/Dockerfile_trixie
load: true
tags: cgimap:trixie
- name: Running Docker image
run: |
docker run --entrypoint /bin/bash cgimap:trixie -c "/usr/local/bin/openstreetmap-cgimap --help"
2 changes: 1 addition & 1 deletion docker/debian/Dockerfile_trixie
Expand Up @@ -30,7 +30,7 @@ FROM debian:trixie

RUN apt-get update -qq && \
apt-get install -y \
libfcgi-bin libmemcached11 libboost-program-options1.74.0 \
libfcgi-bin libmemcached11 libboost-program-options1.83.0 \
libxml2 libcrypto++8 libyajl2 libpqxx-7.8 zlib1g libbrotli1 libfmt9 \
--no-install-recommends && \
apt-get clean && \
Expand Down

0 comments on commit ee804f6

Please sign in to comment.