-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
38 lines (21 loc) · 920 Bytes
/
Dockerfile
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
29
30
31
32
33
34
35
36
37
38
# automatically generated from https://github.com/metwork-framework/github_organization_management/blob/master/common_files/docker-mfxxx-yyy-buildimage_Dockerfile)
FROM rockylinux:9.2
ENV DCO_CRONIE_START=1 \
S6_KEEP_ENV=1 \
S6_BEHAVIOUR_IF_STAGE2_FAILS=1
ARG BRANCH
RUN echo -e "[metwork_${BRANCH}]\n\
name=Metwork Continuous Integration Branch ${BRANCH}\n\
baseurl=http://metwork-framework.org/pub/metwork/continuous_integration/rpms/${BRANCH}/centos8/\n\
gpgcheck=0\n\
enabled=1\n\
metadata_expire=0\n" >/etc/yum.repos.d/metwork.repo
RUN yum clean all
RUN yum -y install metwork-mfbase-full langpacks-fr
RUN yum -y install metwork-mfext-layer-python3_scientific_core metwork-mfext-layer-python3_devtools
RUN yum -y install initscripts vim coreutils-common cronie make
COPY root /
RUN /build/s6_overlay.sh && \
yum clean all && \
rm -Rf /build
ENTRYPOINT ["/init"]