Skip to content

Docker compose version 2 seems to use dashes instead of underscores. #289

Docker compose version 2 seems to use dashes instead of underscores.

Docker compose version 2 seems to use dashes instead of underscores. #289

Workflow file for this run

name: Test Web application authentication developer setup
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '42 22 * * 0'
jobs:
test-docker-compose:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: |
set -e
echo -e "dockremap:$( id -u ):1\ndockremap:200001:65535" | sudo tee -a /etc/subuid
echo -e "dockremap:$( id -g ):1\ndockremap:200001:65535" | sudo tee -a /etc/subgid
echo '{ "userns-remap": "default" }' | sudo tee /etc/docker/daemon.json
sudo systemctl restart docker
- run: docker compose version
- run: make build
- run: make build COMPOSE=docker-compose.yml.www-with-app
- run: make run
- run: make test
- run: docker compose down
- run: make run
- run: make test
- run: docker compose down
- run: make run COMPOSE=docker-compose.yml.www-with-app
- run: make test