Skip to content

Commit

Permalink
Merge pull request #12 from equinor/subsheat3D/test_from_grids
Browse files Browse the repository at this point in the history
TST: docker CI
  • Loading branch information
adamchengtkc authored Nov 20, 2023
2 parents 1b30eba + 9671090 commit 1a5542e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN DEBIAN_FRONTEND=noninteractive \
liblzma-dev

RUN useradd -rm -d /home/vscode -s /bin/bash -g root -G sudo -u 1000 vscode -p ""
USER 1000
USER vscode
WORKDIR /home/vscode
ENV HOME=/home/vscode
ENV PATH="/root/.local/bin:$HOME/.local/bin::$PATH"
Expand Down
6 changes: 2 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"name": "poetry3-poetry-pyenv",
"build": {
"dockerfile": "Dockerfile"
},
"name": "warmth dolfinx poetry",
"image": "ghcr.io/equinor/warmth:latest",

// 👇 Features to add to the Dev Container. More info: https://containers.dev/implementors/features.
// "features": {},
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN DEBIAN_FRONTEND=noninteractive \
liblzma-dev

RUN useradd -rm -d /home/vscode -s /bin/bash -g root -G sudo -u 1000 vscode -p ""
USER 1000
USER vscode
WORKDIR /home/vscode
ENV HOME=/home/vscode
ENV PATH="/root/.local/bin:$HOME/.local/bin::$PATH"
Expand Down

0 comments on commit 1a5542e

Please sign in to comment.