forked from bcgov/supreme-court-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from bcgov/dev-env-setup
Dev env setup
- Loading branch information
Showing
3 changed files
with
56 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,20 @@ | ||
FROM mcr.microsoft.com/devcontainers/base:ubuntu | ||
|
||
# Install dependencies | ||
RUN apt-get update && \ | ||
apt-get install -y wget tar && \ | ||
apt-get clean | ||
|
||
# Set environment variables | ||
ENV S2I_VERSION=source-to-image-v1.4.0-d3544c7e-linux-arm64.tar.gz | ||
|
||
# Download and install S2I | ||
RUN wget https://github.com/openshift/source-to-image/releases/download/v1.4.0/${S2I_VERSION} -O /tmp/${S2I_VERSION} && \ | ||
tar -xzf /tmp/${S2I_VERSION} -C /usr/local/bin && \ | ||
rm /tmp/${S2I_VERSION} | ||
|
||
# Verify installation | ||
RUN s2i version | ||
|
||
# Set the default command | ||
CMD ["bash"] |
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,35 @@ | ||
{ | ||
"name": "JASPER", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
"context": "." | ||
}, | ||
"features": { | ||
"ghcr.io/devcontainers/features/dotnet:2": {}, | ||
"ghcr.io/devcontainers/features/aws-cli:1": {}, | ||
"ghcr.io/devcontainers/features/terraform:1": {}, | ||
"ghcr.io/devcontainers/features/docker-in-docker:2": {} | ||
}, | ||
"postCreateCommand": "./docker/manage build", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"esbenp.prettier-vscode", | ||
"rangav.vscode-thunder-client", | ||
"vue.volar", | ||
"christian-kohler.path-intellisense", | ||
"ms-dotnettools.csdevkit", | ||
"ms-dotnettools.csharp", | ||
"ms-dotnettools.vscode-dotnet-runtime", | ||
"amazonwebservices.aws-toolkit-vscode" | ||
], | ||
"settings": { | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": "explicit" | ||
}, | ||
"editor.formatOnSave": true | ||
} | ||
} | ||
}, | ||
"remoteUser": "root" | ||
} |
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