Skip to content

Commit f6e071f

Browse files
authored
Merge pull request #15 from ApplauseOSS/pd-13907-fix-auto-update-permissions
PD-13907: Allow sdmself-update to write to /usr/local/bin
2 parents f73c9af + dd27388 commit f6e071f

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)