-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (21 loc) · 815 Bytes
/
Dockerfile
File metadata and controls
27 lines (21 loc) · 815 Bytes
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
ARG FROM_BASE=${DOCKER_REGISTRY:-ubuntu-s2.home:5000/}${CONTAINER_OS:-alpine}/base_container:${BASE_TAG:-latest}
FROM $FROM_BASE
# name and version of this docker image
ARG CONTAINER_NAME=perl
# Specify CBF version to use with our configuration and customizations
ARG CBF_VERSION
# include our project files
COPY build Dockerfile /tmp/
# set to non zero for the framework to show verbose action scripts
# (0:default, 1:trace & do not cleanup; 2:continue after errors)
ENV DEBUG_TRACE=0
ARG PERL_VERSION=5.30.3-r0
LABEL version.perl=$PERL_VERSION
# build content
RUN set -o verbose \
&& chmod u+rwx /tmp/build.sh \
&& /tmp/build.sh "$CONTAINER_NAME" "$DEBUG_TRACE" "$TZ" \
&& ([ "$DEBUG_TRACE" != 0 ] || rm -rf /tmp/*)
ENTRYPOINT [ "docker-entrypoint.sh" ]
#CMD ["$CONTAINER_NAME"]
CMD ["perl"]