UNCLASSIFIED

Commit ca02eb09 authored by LA Brandon Sumner's avatar LA Brandon Sumner
Browse files

updated dockerfile

parent 76a4cf4f
Pipeline #84655 failed with stages
in 4 minutes and 2 seconds
...@@ -19,26 +19,25 @@ ARG UID=1000 ...@@ -19,26 +19,25 @@ ARG UID=1000
ARG GID=1000 ARG GID=1000
USER root USER root
WORKDIR / WORKDIR /tmp
RUN groupadd --gid $GID $GROUPNAME && \ COPY dumb-init beast-core.tar.gz config/appsettings.json config/config.json scripts/start.sh LICENSE ./
useradd --uid $UID --gid $GID $USERNAME
COPY --chown=1000:1000 LICENSE beast-core.tar.gz ./
COPY dumb-init /usr/local/bin/dumb-init
RUN chmod 755 /usr/local/bin/dumb-init && \ RUN groupadd --gid $GID $GROUPNAME && \
yum install -y libicu curl && \ useradd --uid $UID --gid $GID $USERNAME && \
yum clean all && \ yum install -y libicu curl && \
rm -rf /var/cache/dnf && \ yum clean all && \
tar -zxf beast-core.tar.gz && \ rm -rf /var/cache/dnf && \
chown -R $UID:$GID ./beast-core/ && \ tar -zxf beast-core.tar.gz && \
rm beast-core.tar.gz rm beast-core.tar.gz && \
chown -R $UID:$GID /tmp/* && \
COPY --chown=1000:1000 scripts/start.sh /beast-core/ chmod 755 dumb-init start.sh && \
mv beast-core /beast-core && \
COPY config/appsettings.json config/config.json /beast-core/server/ mv config.json /beast-core/server && \
mv scripts/start.sh /beast-core && \
mv dumb-init /usr/local/bin &&\
mv LICENSE / && \
rm -rf ./*
WORKDIR /beast-core/server WORKDIR /beast-core/server
......
Markdown is supported
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