Skip to content

Commit 855dd42

Browse files
committed
Add workspace directory and hello.txt file
1 parent 3429892 commit 855dd42

File tree

4 files changed

+45
-24
lines changed

4 files changed

+45
-24
lines changed
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
FROM mcr.microsoft.com/devcontainers/base:jammy
22

3-
# config fish as default shell
4-
RUN chsh -s /usr/bin/fish
3+
RUN mkdir /workspace
54

6-
# install oh-my-fish
7-
RUN curl -L https://get.oh-my.fish | fish
8-
9-
RUN omf theme agnoster
5+
RUN echo "Hello, World!" >> /workspace/hello.txt
106

templates/ubuntu-dev/.devcontainer/devcontainer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
{
44
"name": "Ubuntu",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/base:jammy",
7-
// "build": {
8-
// // Path is relative to the devcontainer.json file.
9-
// "dockerfile": "Dockerfile"
10-
// },
6+
"build": {
7+
// Path is relative to the devcontainer.json file.
8+
"dockerfile": "Dockerfile"
9+
},
1110
"features": {
1211
"ghcr.io/devcontainers/features/common-utils": {},
1312

templates/universal/.devcontainer/Dockerfile

Lines changed: 0 additions & 10 deletions
This file was deleted.

templates/universal/.devcontainer/devcontainer.json

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,46 @@
44
"name": "Default Linux Universal",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
66
// "image": "mcr.microsoft.com/devcontainers/universal:2-linux",
7-
"build": {
8-
// Path is relative to the devcontainer.json file.
9-
"dockerfile": "Dockerfile"
7+
"image": "mcr.microsoft.com/devcontainers/base:jammy",
8+
"features": {
9+
"ghcr.io/devcontainers/features/common-utils": {},
10+
11+
"ghcr.io/devcontainers/features/node:1": {
12+
"nodeGypDependencies": true,
13+
"version": "lts",
14+
"nvmVersion": "latest"
15+
},
16+
"ghcr.io/devcontainers/features/python:1": {
17+
"version": "3.10"
18+
},
19+
"ghcr.io/tailscale/codespace/tailscale": {},
20+
"ghcr.io/devcontainers/features/rust:1": {},
21+
"ghcr.io/meaningful-ooo/devcontainer-features/fish:1": {},
22+
"ghcr.io/devcontainers-contrib/features/curl-apt-get:1": {},
23+
"ghcr.io/devcontainers/features/sshd:1": {
24+
"version": "latest"
25+
},
26+
"ghcr.io/devcontainers/features/git:1": {
27+
"version": "latest",
28+
"ppa": "false"
29+
},
30+
"ghcr.io/devcontainers/features/git-lfs:1": {
31+
"version": "latest"
32+
},
33+
"ghcr.io/devcontainers/features/github-cli:1": {
34+
"version": "latest"
35+
},
36+
"ghcr.io/devcontainers/features/docker-in-docker:2": {
37+
"version": "latest"
38+
},
39+
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {
40+
"version": "latest"
41+
},
42+
"ghcr.io/devcontainers/features/go:1": {
43+
"version": "latest"
44+
}
1045
},
46+
"runArgs": ["--device=/dev/net/tun"],
1147
"customizations": {
1248
"vscode": {
1349
"extensions": ["npv2k1.theme-dracula-gray", "ms-azuretools.vscode-docker"]

0 commit comments

Comments
 (0)