0
0
mirror of https://github.com/tj/n.git synced 2024-11-24 02:27:28 +01:00

Add fedora as a second Linux for main tests (#756)

This commit is contained in:
John Gee 2023-02-08 17:43:03 +13:00 committed by GitHub
parent 6ddeeed1fd
commit 3e13c69864
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

View File

@ -2,7 +2,7 @@
BIN_DIRECTORY="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
# We want to cover curl and wget especially, gz and xz and variety of OS a bonus.
services=( ubuntu-curl ubuntu-wget )
services=( fedora-curl ubuntu-wget )
cd "$(dirname "${BIN_DIRECTORY}")" || exit 2
for service in "${services[@]}" ; do

View File

@ -14,3 +14,10 @@ services:
build:
context: dockerfiles
dockerfile: Dockerfile-ubuntu-wget
fedora-curl:
extends:
file: ./docker-base.yml
service: testbed
build:
context: dockerfiles
dockerfile: Dockerfile-fedora-curl

View File

@ -0,0 +1,3 @@
FROM fedora:latest
CMD ["/bin/bash"]