1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
ARG IMAGE=fedora:latest
FROM ${IMAGE}
WORKDIR /build
COPY . .
RUN cat /etc/fedora-release
RUN dnf -yq update
# The options are to install faster.
RUN dnf -yq install \
--setopt=deltarpm=0 \
--setopt=install_weak_deps=false \
--setopt=tsflags=nodocs \
gcc \
gcc-c++ \
git \
libyaml-devel \
make \
mariadb-connector-c-devel \
mariadb-server \
openssl \
redhat-rpm-config \
ruby-devel \
rubygem-bigdecimal \
rubygem-bundler \
rubygem-json
CMD bash ci/container.sh
|