We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9885475 commit 01c68c9Copy full SHA for 01c68c9
1 file changed
relink-1.1.0/Dockerfile
@@ -38,8 +38,9 @@ RUN mkdir -p /opt/scout && wget -q \
38
-O /tmp/Scout.zip && \
39
unzip /tmp/Scout.zip -d /opt/scout && \
40
rm /tmp/Scout.zip && \
41
- mv /opt/scout/Scout_Linux64/* /opt/scout && \
42
- rmdir /opt/scout/Scout_Linux64 && \
+ scout_dir="$(find /opt/scout -mindepth 1 -maxdepth 1 -type d ! -name '__MACOSX' | head -n 1)" && \
+ cp -a "${scout_dir}/." /opt/scout/ && \
43
+ rm -rf "${scout_dir}" /opt/scout/__MACOSX && \
44
printf '%s\n' '#!/usr/bin/env bash' 'set -euo pipefail' 'exec dotnet /opt/scout/Scout_Unix.dll "$@"' > /opt/scout/run_scout.sh && \
45
chmod +x /opt/scout/run_scout.sh
46
0 commit comments