forked from stove/dataset
12 lines
636 B
Bash
12 lines
636 B
Bash
|
set -e
|
||
|
RISOTTO_PYTHON_PATH="$IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP/usr/local/risotto/python/risotto"
|
||
|
RISOTTO_BIN_PATH="$IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP/usr/local/bin"
|
||
|
mkdir -p "$RISOTTO_PYTHON_PATH"
|
||
|
touch $RISOTTO_PYTHON_PATH/__init__.py
|
||
|
cp $IMAGE_DIR_RECIPIENT_IMAGE/postinstall/x509.py $RISOTTO_PYTHON_PATH
|
||
|
cp $IMAGE_DIR_RECIPIENT_IMAGE/postinstall/autosign.py $RISOTTO_PYTHON_PATH
|
||
|
cp $IMAGE_DIR_RECIPIENT_IMAGE/postinstall/letsencrypt.py $RISOTTO_PYTHON_PATH
|
||
|
cp $IMAGE_DIR_RECIPIENT_IMAGE/postinstall/update-certificates $RISOTTO_BIN_PATH
|
||
|
chmod 755 $RISOTTO_BIN_PATH/update-certificates
|
||
|
chown root: $RISOTTO_BIN_PATH/update-certificates
|