Skip to content
Snippets Groups Projects
Commit 596720c3 authored by Julien Leduc's avatar Julien Leduc
Browse files

CONTEXTDIR does not allow to retrieve artifacts from directory under it,...

CONTEXTDIR does not allow to retrieve artifacts from directory under it, therefore move Dockerfile location is the answer (officially)
parent 2852c878
No related branches found
No related tags found
No related merge requests found
......@@ -51,4 +51,4 @@ ctafrontend_docker:
- ""
variables:
TO: gitlab-registry.cern.ch/cta/cta-orchestration
CONTEXT_DIR: continuousintegration/docker/ctafrontend/cc7
DOCKER_FILE: continuousintegration/docker/ctafrontend/cc7/Dockerfile
......@@ -18,17 +18,19 @@
#
# ****************************************************************************/
BASEDIR="continuousintegration/docker/ctafrontend/cc7"
# CTA frontend
FROM gitlab-registry.cern.ch/linuxsupport/cc7-base
# Manage repos
ADD ./etc/yum.repos.d/* /etc/yum.repos.d/
ADD ${BASEDIR}/etc/yum.repos.d/* /etc/yum.repos.d/
RUN yum install -y yum-plugin-priorities epel-release
# Add previously built rpms
ADD ../../../../build_rpm/RPM/RPMS /tmp
ADD build_rpm/RPM/RPMS /tmp
#RUN yum -y install cta-frontend cta-debuginfo
# Install needed packages
......@@ -36,8 +38,8 @@ RUN yum -y install cgdb less psmisc lynx strace ltrace
RUN yum clean all
# Static configuration files
ADD ./etc/xrootd/xrootd-cta.cfg /etc/xrootd/xrootd-cta.cfg
ADD ${BASEDIR}/etc/xrootd/xrootd-cta.cfg /etc/xrootd/xrootd-cta.cfg
# Docker image run setup
ADD ./run.sh /
ADD ${BASEDIR}/run.sh /
ENTRYPOINT ["/run.sh"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment