Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
renovate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Renovate Bot
renovate
Commits
827f85cc
Unverified
Commit
827f85cc
authored
1 year ago
by
Michael Kriese
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
chore: simplify devcontainer (#26058)
parent
6cf2fad7
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.devcontainer/Dockerfile
+1
-13
1 addition, 13 deletions
.devcontainer/Dockerfile
.devcontainer/devcontainer.json
+8
-7
8 additions, 7 deletions
.devcontainer/devcontainer.json
.devcontainer/post-create.sh
+1
-3
1 addition, 3 deletions
.devcontainer/post-create.sh
with
10 additions
and
23 deletions
.devcontainer/Dockerfile
+
1
−
13
View file @
827f85cc
FROM
ghcr.io/containerbase/node:20.10.0
USER
root
RUN
install-apt make g++
# renovate: datasource=github-releases packageName=containerbase/python-prebuild
RUN
install-tool python 3.12.0
# renovate: datasource=npm
RUN
install-tool corepack 0.23.0
USER
ubuntu
FROM
ghcr.io/containerbase/devcontainer:9.26.0
This diff is collapsed.
Click to expand it.
.devcontainer/devcontainer.json
+
8
−
7
View file @
827f85cc
{
"$schema"
:
"https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json"
,
"name"
:
"Renovate"
,
"dockerFile"
:
"Dockerfile"
,
"features"
:
{
"ghcr.io/devcontainers/features/common-utils:2"
:
{}
"build"
:
{
"dockerfile"
:
"Dockerfile"
},
"capAdd"
:
[
"SYS_PTRACE"
],
"privileged"
:
true
,
"securityOpt"
:
[
"seccomp=unconfined"
],
"hostRequirements"
:
{
"cpus"
:
4
,
"memory"
:
"7gb"
,
...
...
@@ -15,6 +10,12 @@
},
"customizations"
:
{
"vscode"
:
{
"terminal.integrated.profiles.linux"
:
{
"bash"
:
{
"path"
:
"bash"
,
"icon"
:
"terminal-bash"
}
},
"extensions"
:
[
"dbaeumer.vscode-eslint"
,
"esbenp.prettier-vscode"
,
...
...
This diff is collapsed.
Click to expand it.
.devcontainer/post-create.sh
+
1
−
3
View file @
827f85cc
...
...
@@ -7,6 +7,4 @@ if [[ "${CODESPACES}" == true ]]; then
sudo chmod
1777 /tmp
fi
set
-x
exec
pnpm
install
pnpm
install
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment