Skip to content

Add alpine based Dockerfile #514

Add alpine based Dockerfile

Add alpine based Dockerfile #514

Workflow file for this run

name: Build on Debian Bookworm
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker images
uses: docker/build-push-action@v6
with:
file: docker/debian/Dockerfile_bookworm
load: true
cache-from: type=gha,scope=cgimap:bookworm
cache-to: type=gha,mode=max,scope=cgimap:bookworm
tags: cgimap:bookworm
- name: Running Docker image
run: |
docker run --name cgimap --entrypoint /bin/bash cgimap:bookworm -c "/usr/bin/openstreetmap-cgimap --help"
docker cp cgimap:/app_deb ${{ github.workspace }}
- uses: actions/upload-artifact@v4
with:
name: openstreetmap_cgimap_debian_12.zip
path: ${{ github.workspace }}/app_deb/*.deb
if-no-files-found: error