Skip to content

Commit b8f837e

Browse files
committed
Simplify devcontainer config.
1 parent a374c36 commit b8f837e

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

.devcontainer/Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# Copyright (c) 2021, 2022 Oracle and/or its affiliates. All rights reserved.
44
#
55

6-
# FROM ghcr.io/graalvm/graalvm-ce:latest
76
FROM container-registry.oracle.com/os/oraclelinux:7-slim
87

98
RUN yum update -y oraclelinux-release-el7 \
@@ -29,7 +28,3 @@ RUN git clone https://github.com/pyenv/pyenv.git ${PYENV_ROOT} \
2928
&& mx --java-home= fetch-jdk --jdk-id labsjdk-ce-11 --to jdk-dl --alias ${JAVA_HOME}
3029

3130
CMD mx --version
32-
33-
# Test
34-
# /bin/docker build -f /data/graal/.devcontainer/Dockerfile -t vsc-graal-9e1c7cad5a1f4ab3e7dc161be944ff9b /data/graal/.devcontainer
35-
# docker run --rm -it -v $(pwd):/workspace/graal vsc-graal-9e1c7cad5a1f4ab3e7dc161be944ff9b /bin/bash

.devcontainer/devcontainer.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
{
2-
"name": "GraalVM dev environment",
2+
"name": "GraalVM CE dev environment",
33
"dockerFile": "Dockerfile",
44

5-
// Set *default* container specific settings.json values on container create.
6-
"settings": {
7-
"terminal.integrated.shell.linux": "/bin/bash"
8-
},
9-
10-
// Add the IDs of extensions you want installed when the container is created.
115
"extensions": [
12-
"vscjava.vscode-java-pack",
13-
"bungcip.better-toml"
6+
"vscjava.vscode-java-pack"
147
]
158
}

0 commit comments

Comments
 (0)