Add alpine based Dockerfile #520
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build on Ubuntu 22.04 | |
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/ubuntu/Dockerfile2204 | |
load: true | |
cache-from: type=gha,scope=cgimap:2204 | |
cache-to: type=gha,mode=max,scope=cgimap:2204 | |
tags: cgimap:2204 | |
- name: Running Docker image | |
run: | | |
docker run --entrypoint /bin/bash cgimap:2204 -c "/usr/local/bin/openstreetmap-cgimap --help" |