File tree Expand file tree Collapse file tree 5 files changed +65
-1
lines changed Expand file tree Collapse file tree 5 files changed +65
-1
lines changed Original file line number Diff line number Diff line change
1
+ FROM mcr.microsoft.com/devcontainers/java:1-21-bullseye
2
+
3
+ ENV MAVEN_CONFIG=/var/maven/.m2
4
+
5
+ # [Optional] Uncomment if you want to install more tools
6
+ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
7
+ && apt-get -y install --no-install-recommends maven \
8
+ && mkdir -p /var/maven/.m2 \
9
+ && chown -R vscode:vscode /var/maven/.m2
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e
3
+
4
+ git config --local user.name " $( git config user.name) "
5
+ git config --local user.email " $( git config user.email) "
Original file line number Diff line number Diff line change
1
+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2
+ // README at: https://github.com/devcontainers/templates/tree/main/src/java
3
+ {
4
+ "name" : " YDB Java SDK" ,
5
+ "dockerFile" : " Dockerfile" ,
6
+ // Allows the container to use ptrace, which is useful for debugging.
7
+ "capAdd" : [
8
+ " SYS_PTRACE"
9
+ ],
10
+ // Disables seccomp, which can be necessary for some debugging tools to function correctly.
11
+ "securityOpt" : [
12
+ " seccomp=unconfined"
13
+ ],
14
+ "features" : {
15
+ "ghcr.io/devcontainers/features/github-cli:1" : {},
16
+ "ghcr.io/devcontainers/features/docker-outside-of-docker:1" : {}
17
+ },
18
+ // Use 'initializeCommand' to run commands before the container is created.
19
+ "initializeCommand" : " chmod +x .devcontainer/commands/initialize.sh && .devcontainer/commands/initialize.sh" ,
20
+ // Use 'postCreateCommand' to run commands after the container is created.
21
+ // Use 'postStartCommand' to run commands after the container is started.
22
+ // Configure tool-specific properties.
23
+ "customizations" : {
24
+ "vscode" : {
25
+ "extensions" : [
26
+ " redhat.java" ,
27
+ " vscjava.vscode-java-pack"
28
+ ]
29
+ }
30
+ },
31
+ // Maven cache volume configuration.
32
+ "mounts" : [
33
+ " source=maven-cache,target=/var/maven/.m2,type=volume"
34
+ ]
35
+ }
Original file line number Diff line number Diff line change
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for more information:
4
+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+ # https://containers.dev/guide/dependabot
6
+
7
+ version : 2
8
+ updates :
9
+ - package-ecosystem : " devcontainers"
10
+ directory : " /"
11
+ schedule :
12
+ interval : weekly
Original file line number Diff line number Diff line change 9
9
** /.idea /
10
10
** /* .iml
11
11
** /* .iws
12
- ** /* .ipr
12
+ ** /* .ipr
13
+
14
+ # VS Code
15
+ .vscode
You can’t perform that action at this time.
0 commit comments