mirror of
https://github.com/bgp/bgpq4
synced 2026-07-25 08:22:37 +00:00
Fix yaml syntax error (#127)
This commit is contained in:
@@ -3,7 +3,7 @@ FROM quay.io/$image
|
||||
|
||||
# Install dependencies
|
||||
RUN dnf -y update
|
||||
RUN dnf -y install autoconf automake gcc libtool make diffutils file gzip
|
||||
RUN dnf -y install autoconf automake gcc libtool make diffutils file gzip gawk
|
||||
|
||||
# Add source code
|
||||
ADD . /src
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
ARG image=centos/centos:latest
|
||||
FROM quay.io/$image
|
||||
|
||||
# Install dependencies
|
||||
RUN dnf -y update
|
||||
RUN dnf -y install autoconf automake gcc libtool make diffutils file gzip awk
|
||||
|
||||
# Add source code
|
||||
ADD . /src
|
||||
WORKDIR /src
|
||||
|
||||
# Run steps
|
||||
RUN ./bootstrap
|
||||
RUN ./configure
|
||||
RUN make
|
||||
RUN make check
|
||||
RUN make distcheck
|
||||
@@ -0,0 +1 @@
|
||||
../centos.Dockerfile
|
||||
@@ -28,6 +28,6 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Work around Docker BuildKit regression
|
||||
# https://github.com/moby/buildkit/issues/2119: `DOCKER_BUILDKIT=1 docker build` fails if Dockerfile is a symlink
|
||||
run: [ -L .github/images/${{matrix.dockerenv}}.Dockerfile ] && cp --remove-destination $(readlink -f .github/images/${{matrix.dockerenv}}.Dockerfile) .github/images/${{matrix.dockerenv}}.Dockerfile
|
||||
run: cp --remove-destination $(readlink -f .github/images/${{matrix.dockerenv}}.Dockerfile) .github/images/${{matrix.dockerenv}}.Dockerfile
|
||||
- name: Run build on ${{matrix.dockerenv}}
|
||||
run: docker build . --file .github/images/${{matrix.dockerenv}}.Dockerfile --build-arg image=${{matrix.dockerenv}}
|
||||
|
||||
Reference in New Issue
Block a user