-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mike Cobbett <[email protected]>
- Loading branch information
1 parent
f98328d
commit 2cefd5c
Showing
7 changed files
with
85 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM ubuntu:jammy | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y curl wget unzip zip | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y fontconfig libfreetype6 | ||
|
||
RUN mkdir -p /workspace | ||
WORKDIR /workspace | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"name": "Galasa CLI devcontainer", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"features": { | ||
"ghcr.io/devcontainers/features/git:1": {}, | ||
"ghcr.io/devcontainers/features/common-utils:2": {}, | ||
"ghcr.io/devcontainers/features/go:1": { | ||
"version": "1.19.1" | ||
}, | ||
"ghcr.io/devcontainers/features/java:1": { | ||
"version": "11.0.18-sem", | ||
"jdkDistro": "sem", | ||
"installGradle" : true, | ||
"gradleVersion": "6.9.2", | ||
"installMaven": true, | ||
"mavenVersion": "3.8.6" | ||
} | ||
}, | ||
"forwardPorts": [9080,9443], | ||
"privileged": true, | ||
"remoteUser": "${localEnv:USER}", | ||
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/,type=bind", | ||
"workspaceFolder": "/workspace", | ||
"postStartCommand": "git config --global --add safe.directory /workspace", | ||
"mounts": [ | ||
"source=${localEnv:HOME}/.galasa,target=/root/.galasa,type=bind,consistency=cached", | ||
"source=${localEnv:HOME}/.m2,target=/root/.m2,type=bind,consistency=cached" | ||
], | ||
"postCreateCommand": "./.devcontainer/setup-env.sh" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
# Go get the public IBM certificates and install them | ||
curl -k -o carootcert.der https://ibmca-prod.dal.cpc.ibm.com:9443/cybersecurity/ibmcert/web/downloadCarootCert.do?file=carootcert.der | ||
curl -k -o caintermediatecert.der https://ibmca-prod.dal.cpc.ibm.com:9443/cybersecurity/ibmcert/web/downloadCarootCert.do?file=caintermediatecert.der | ||
|
||
cp carootcert.der $JAVA_HOME/lib/security | ||
cp caintermediatecert.der $JAVA_HOME/lib/security | ||
|
||
cd $JAVA_HOME/lib/security; | ||
keytool -keystore cacerts -storepass changeit -noprompt -trustcacerts -importcert -alias ibmca -file carootcert.der | ||
keytool -keystore cacerts -storepass changeit -noprompt -trustcacerts -importcert -alias ibminter -file caintermediatecert.der | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for more information: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
# https://containers.dev/guide/dependabot | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "devcontainers" | ||
directory: "/" | ||
schedule: | ||
interval: weekly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters