Skip to content

Commit 520a82d

Browse files
committed
Dockerfile: fix copying ispm config file to vscode user
1 parent e42bf2c commit 520a82d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,12 @@ ninja
205205
EOF
206206

207207
USER vscode
208-
RUN echo 'echo "To run the demo, run ./simics -no-gui --no-win fuzz.simics"' >> ~/.bashrc
208+
RUN <<EOF
209+
set -e
210+
echo 'echo "To run the demo, run ./simics -no-gui --no-win fuzz.simics"' >> ~/.bashrc
211+
sudo cp -r /root/.config /home/vscode/.config
212+
sudo chown -R vscode:vscode /home/vscode/.config
213+
EOF
209214

210215
WORKDIR /workspace/tsffs
211216

0 commit comments

Comments
 (0)