Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN cp -R . /opt/fmc_repository/python-sdk && \
tar cf python-reference.tar.xz --exclude-vcs /opt/fmc_repository/ -I 'xz -T0' --checkpoint=1000 --checkpoint-action=echo='%{%Y-%m-%d %H:%M:%S}t ⏳ \033[1;37m(%d sec)\033[0m: \033[1;32m#%u\033[0m, \033[0;33m%{}T\033[0m'
# }}}

FROM docker.io/ubiqube/ubi-almalinux9:latest
FROM docker.io/ubiqube/ubi-almalinux10:latest
# Copy all resources to the final image {{{
RUN mkdir -p /opt/fmc_repository && chown -R 1000:1000 /opt/fmc_repository
USER 1000
Expand Down
8 changes: 5 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/bin/bash
set -euo pipefail
. /usr/share/install-libraries/il-lib.sh

emit_step "Remove old msa_sdk folders."
rm -Rf /opt/fmc_repository/Process/PythonReference/msa_sdk*
ln -sf /opt/fmc_repository/python-sdk/msa_sdk /opt/fmc_repository/Process/PythonReference/msa_sdk
color mkdir -p /opt/fmc_repository/Process/PythonReference
color rm -Rf /opt/fmc_repository/Process/PythonReference/msa_sdk*
color ln -sf /opt/fmc_repository/python-sdk/msa_sdk /opt/fmc_repository/Process/PythonReference/msa_sdk
emit_step "Create custom folder."
mkdir -p /opt/fmc_repository/Process/PythonReference/custom
color mkdir -p /opt/fmc_repository/Process/PythonReference/custom
touch /opt/fmc_repository/Process/PythonReference/custom/__init__.py