Skip to content

Commit

Permalink
updated for 24/25
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny2097 committed Jul 11, 2024
1 parent 3614650 commit 32c9690
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ ARG VARIANT=jammy
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}
Label Author: Dan Campbell
Label Module: CIS3158
Label Year: 2023
Label Year: 2024/2025
22 changes: 15 additions & 7 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
{
"name": "CIS3158",
"build": {
"dockerfile": "Dockerfile",
"args": { "VARIANT": "jammy" }
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "jammy"
}
},
//"image": "mcr.microsoft.com/devcontainers/javascript-node:1-20-bullseye",
"onCreateCommand": "sudo apt update && sudo apt-get install bash -y && sudo apt install software-properties-common -y && sudo apt install libarchive-tools -y && sudo apt-get install -y ca-certificates curl gnupg && sudo mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo \"deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main\" | sudo tee /etc/apt/sources.list.d/nodesource.list && sudo apt-get update && sudo apt-get install nodejs -y && sudo apt-get install gcc g++ make && curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null echo \"deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main\" | sudo tee /etc/apt/sources.list.d/yarn.list && sudo apt-get update && sudo apt-get install yarn -y && npm install [email protected] && npm install --global --save-dev webpack && npm install --global webpack-cli",
"postCreateCommand": "sh prepare.sh",
"otherPortsAttributes": { "onAutoForward": "openBrowser"},
"runArgs": ["--name", "CIS3158-2023-Development-Environment"],
"otherPortsAttributes": {
"onAutoForward": "openBrowser"
},
"runArgs": [
"--name",
"CIS3158-2024-Development-Environment"
],
"remoteUser": "root",
"customizations": {
"vscode": {
"extensions": [
"ritwickdey.LiveServer"
"ritwickdey.LiveServer",
"mohd-akram.vscode-html-format",
"ecmel.vscode-html-css",
]
}
}
}
}

0 comments on commit 32c9690

Please sign in to comment.