Skip to content

Commit dd27388

Browse files
committed
PD-13907: Allow sdmself-update to write to /usr/local/bin
1 parent f73c9af commit dd27388

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ RUN apt-get update && \
66
curl -fsSLo sdm.zip $(curl https://app.strongdm.com/releases/upgrade\?os\=linux\&arch\=$(uname -m | sed -e 's:x86_64:amd64:' -e 's:aarch64:arm64:')\&software\=sdm-cli\&version\=productionexample | jq ".url" -r) && \
77
unzip sdm.zip && \
88
rm sdm.zip && \
9-
chmod g+rx sdm && \
9+
chmod g+rwx sdm && \
10+
chmod g+w /usr/local/bin && \
1011
apt-get remove -y --purge curl zip jq
1112
# Setup non-root user
1213
ENV HOME=/home/sdmuser \

0 commit comments

Comments
 (0)