Skip to content

Commit

Permalink
clean up build-time
Browse files Browse the repository at this point in the history
  • Loading branch information
pymonger committed Sep 22, 2018
1 parent fc22157 commit b490194
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,6 @@ FROM hysds/pge-base:latest
MAINTAINER malarout "[email protected]"
LABEL description="Lightweight System Jobs"

ARG id
ARG gid
#Change UID and GID from build
USER root
RUN set -ex && \
usermod -u ${id} ops && \
groupmod -g ${gid} ops && \
chown -R ops:ops /home/ops/ /data && \
usermod -g ${gid} ops

# create work directory
RUN set -ex \
&& mkdir -p /data/work \
&& chmod -R 755 /data \
&& chown -R ops:ops /data


# provision lightweight-jobs PGE
USER ops
COPY . /home/ops/verdi/ops/lightweight-jobs
Expand Down

0 comments on commit b490194

Please sign in to comment.