Skip to content

Commit

Permalink
Runs setup.sh on creation of devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
topfunky committed May 24, 2024
1 parent 4713c3e commit 515bbf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ RUN apt-get update \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

RUN .devcontainer/setup.sh

# Switch back to dialog for any ad-hoc use of apt-get
ENV DEBIAN_FRONTEND=dialog
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


"forwardPorts": [],
"postCreateCommand": "sh setup.sh && echo 'Devcontainer setup complete.'"
"postCreateCommand": "echo 'Devcontainer setup complete.'"

}
}

0 comments on commit 515bbf6

Please sign in to comment.