File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -124,10 +124,6 @@ RUN curl https://sh.rustup.rs -sSf | bash -s -- -y --default-toolchain none
124124# hadolint ignore=DL3004,SC3009
125125RUN <<EOF
126126set -e
127- # set setgid on /workspace to inherit dev group
128- chown root:dev /workspace
129- chmod g+ws /workspace
130- umask 002
131127mkdir -p /workspace/simics/ispm/
132128
133129# Download SIMICS components
@@ -163,7 +159,6 @@ cargo install cargo-simics-build
163159# Build the project
164160cargo simics-build -r
165161
166- umask 002
167162# Install the built package
168163ispm packages -i target/release/*-linux64.ispm --non-interactive --trust-insecure-packages
169164
@@ -185,7 +180,6 @@ WORKDIR /workspace/projects/example/
185180# hadolint ignore=DL3004,SC3009
186181RUN <<EOF
187182set -e
188- umask 002
189183# Create the example project
190184ispm projects /workspace/projects/example/ --create \
191185 1000-${PUBLIC_SIMICS_PACKAGE_VERSION_1000} \
207201
208202RUN <<EOF
209203set -e
204+ # set perms root:dev and set permissions for dev group members
205+ chown -R root:dev /workspace
206+ chmod -R 775 /workspace
210207# copy ISPM config to vscode user
211208cp -r "/root/.config" "/home/${USERNAME}/.config"
212209chown -R "${USERNAME}:dev" "/home/${USERNAME}/.config"
You can’t perform that action at this time.
0 commit comments