Skip to content

Commit

Permalink
(#77) moved startup script from base to sakuli image
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffle committed Oct 29, 2020
1 parent 5297f37 commit a92c476
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 4 additions & 0 deletions Dockerfile.sakuli
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ USER 0
### Create SAKULI_EXECUTION_DIR and set permissions correctly
RUN mkdir ${SAKULI_EXECUTION_DIR} && chmod 777 ${SAKULI_EXECUTION_DIR}

### configure startup
COPY ./src/common/scripts $STARTUPDIR
RUN $INST_SCRIPTS/set_user_permission.sh $STARTUPDIR

COPY ./src/sakuli/sakuli.sh $INST_SCRIPTS/
RUN chmod a+x $INST_SCRIPTS/sakuli.sh

Expand Down
8 changes: 1 addition & 7 deletions Dockerfile.sakuli-base
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,7 @@ COPY ./src/common/env/ $STARTUPDIR/env
COPY ./src/common/firefox_profile/certificate-profile $HOME/firefox-certificates/
COPY ./src/common/chrome_certificate_store/ $HOME/.pki/

### configure startup
COPY ./src/common/scripts $STARTUPDIR
RUN $INST_SCRIPTS/set_user_permission.sh $STARTUPDIR $HOME

### configure startup
COPY ./src/common/scripts $STARTUPDIR
RUN $INST_SCRIPTS/set_user_permission.sh $STARTUPDIR $HOME
RUN $INST_SCRIPTS/set_user_permission.sh $HOME

USER 1000:1000

Expand Down

0 comments on commit a92c476

Please sign in to comment.