docker-compose: integrate dev container

Integrate the dev container into docker compose with the aim
of making test-case generation work as well as composer-cli.

This also makes docker-compose self contained, and no setup or configuration is required beyond running `docker compose up --build`.
This commit is contained in:
Tom Gundersen 2022-02-15 22:00:21 +00:00
parent bbbbe32b10
commit 9b89df57b6
6 changed files with 109 additions and 72 deletions

View file

@ -0,0 +1,11 @@
FROM fedora:35
RUN dnf -y install \
openssl
COPY ./tools/gen-certs.sh .
COPY ./test/data/x509/openssl.cnf .
COPY ./test/data/composer/osbuild-composer.toml /config/
COPY ./test/data/worker/osbuild-worker.toml /config/
COPY ./repositories /config/repositories/
RUN ./gen-certs.sh ./openssl.cnf /config /config/ca