Commit 9969c8c6 authored by Sébastien Moretti's avatar Sébastien Moretti
Browse files

Fix yum commands

parent 47f7734e
......@@ -15,7 +15,7 @@ LABEL org.opencontainers.image.authors="sebastien.moretti@sib.swiss"
LABEL org.opencontainers.image.url="https://gitlab.sib.swiss/EPD/UCNEbase_web"
LABEL org.opencontainers.image.source="https://gitlab.sib.swiss/EPD/UCNEbase_web"
LABEL org.opencontainers.image.documentation="https://gitlab.sib.swiss/EPD/UCNEbase_web"
LABEL org.opencontainers.image.licenses="????????????????????????????????????????????????????????????"
LABEL org.opencontainers.image.licenses=".........................."
LABEL org.opencontainers.image.description="UCNEbase is a free, web-accessible information resource on the \
evolution and genomic organization of ultra-conserved non-coding elements (UCNEs)"
LABEL org.opencontainers.image.created=$BUILD_DATE
......@@ -25,14 +25,13 @@ LABEL org.opencontainers.image.created=$BUILD_DATE
ENV USER=ucnebase
# In a single layer to save time AND space
RUN echo '# OS update' \
&& yum check-update \
&& yum update -y \
&& echo '# Install OS requirements' \
&& yum install perl httpd mysql-community-server php-mysqlnd \
&& yum install -y perl httpd wget git php-mysqlnd \
&& echo '# Install UCNEbase' \
&& echo '# CLEANING' \
&& echo '## So try to remove manually useless stuff' \
&& yum removed *-devel gcc \
&& yum remove -y *-devel gcc \
&& yum clean all \
&& groupadd -g 1001 ${USER} && useradd -r -u 1001 -g ${USER} ${USER}
......@@ -47,7 +46,7 @@ ENV LC_ALL="C"
# TEST
RUN ....... || true
RUN echo ....... || true
HEALTHCHECK CMD ....... || exit 1
HEALTHCHECK CMD echo ....... || exit 1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment