mirror of
https://github.com/bgp/bgpq4.git
synced 2024-05-11 05:55:05 +00:00
20 lines
296 B
Docker
20 lines
296 B
Docker
ARG image=centos:8
|
|
FROM $image
|
|
|
|
# Install dependencies
|
|
RUN yum update -y
|
|
RUN yum groupinstall -y 'Development Tools'
|
|
RUN yum install -y autoconf automake findutils
|
|
|
|
# Add source code
|
|
ADD . /src
|
|
WORKDIR /src
|
|
|
|
# Run steps
|
|
RUN ./bootstrap
|
|
RUN ./configure
|
|
RUN make
|
|
RUN make check
|
|
RUN make distcheck
|
|
|