Skip to content

Commit

Permalink
optimize docker image size for sakuli image, #253
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Schneck committed Mar 2, 2018
1 parent 9f66fe4 commit f525e8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/sakuli-client/src/common/install/sakuli.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
### every exit != 0 fails the script
set -e
set -u

### Install Sakuli in the $SAKULI_VERSION and create the example testsuite
### under $SAKULI_TEST_SUITE
Expand Down Expand Up @@ -28,5 +29,8 @@ echo "add to $HOME/.bashrc: use correct UMASK '${SAKULI_UMASK:-0000}'"
# files can be deleted afterwards
echo 'umask ${SAKULI_UMASK:-0000} && echo umask set to $(umask)' >> $HOME/.bashrc

echo "set correct permissions"
$INST_SCRIPTS/set_user_permission.sh $SAKULI_ROOT

echo -e "\n\nInstalled Sakuli:"
$SAKULI_HOME/bin/sakuli -version

0 comments on commit f525e8e

Please sign in to comment.