Skip to content

Fix Docker build IV #23

Fix Docker build IV

Fix Docker build IV #23

Workflow file for this run

name: Test Build-Env Docker Image
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
on:
pull_request:
branches: master
paths:
- 'docker/**'
- '!**.md'
- '**docker-test.yml'
jobs:
build-test-env-image:
runs-on: ubuntu-latest
env:
SOURCE_ROOT: ${{ github.workspace }}
IMAGE: test-image
ENTRYPOINT: ${{ github.workspace }}/docker/default-entry.sh
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt install -y docker-compose
- name: Build Docker image
run: docker build -t $IMAGE -f docker/Dockerfile ./docker
- name: Run commands in Docker container
run: |
export HOSTUID=$(id -u)
export HOSTGID=$(id -g)
docker-compose -f docker/docker-compose.yml run --rm dev