Skip to content

Commit

Permalink
feat(devcontainer): update Dockerfile for Chrome installation and rem…
Browse files Browse the repository at this point in the history
…ove deprecated launch configurations (#7014)
  • Loading branch information
pethers authored Jan 12, 2025
1 parent 793275b commit b4d523a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 77 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM mcr.microsoft.com/devcontainers/java:21-bookworm
# Install all packages in a single layer to reduce image size
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list \
&& echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \
&& apt-get update \
&& apt-get -y install --no-install-recommends \
graphviz \
Expand All @@ -28,6 +28,7 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
libnss3 \
libgbm1 \
libasound2 \
libxtst6 \
&& sh -c 'echo "deb [signed-by=/usr/share/keyrings/postgres-archive-keyring.gpg] http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/postgresql.list' \
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor -o /usr/share/keyrings/postgres-archive-keyring.gpg \
&& apt-get update \
Expand Down
18 changes: 0 additions & 18 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,24 +52,6 @@
"sonarlint.rules": {
"java:S106": "off"
},
"launch": {
"configurations": [
{
"type": "java",
"name": "Launch CIA Server",
"request": "launch",
"mainClass": "com.hack23.cia.systemintegrationtest.CitizenIntelligenceAgencyServer",
"projectName": "citizen-intelligence-agency",
"cwd": "${workspaceFolder}/citizen-intelligence-agency",
"vmArgs": "-Xmx8192m -Xms2048m -XX:+UseG1GC",
"classpath": [
"${workspaceFolder}/citizen-intelligence-agency/target/test-classes",
"${workspaceFolder}/citizen-intelligence-agency/target/classes"
]
}
],
"compounds": []
},
"tasks": {
"version": "2.0.0",
"tasks": [
Expand Down
36 changes: 0 additions & 36 deletions .vscode/launch.json

This file was deleted.

22 changes: 0 additions & 22 deletions .vscode/tasks.json

This file was deleted.

0 comments on commit b4d523a

Please sign in to comment.