-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4c9376
commit 37c2917
Showing
7 changed files
with
95 additions
and
12 deletions.
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,5 @@ | ||
.dockerignore | ||
devcontainer.json | ||
docker-compose.yml | ||
Dockerfile | ||
README.md |
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,7 @@ | ||
FROM qmcgaw/basedevcontainer:debian | ||
|
||
RUN dpkg --add-architecture i386 && apt-get update -y && apt-get install -y gcc g++ make cmake gcc-multilib g++-multilib wget curl | ||
RUN sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin && chmod +x /usr/local/bin/task | ||
RUN wget https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64 -O /usr/local/bin/earthly \ | ||
&& chmod +x /usr/local/bin/earthly \ | ||
&& /usr/local/bin/earthly bootstrap --with-autocomplete |
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,79 @@ | ||
{ | ||
// See https://containers.dev/implementors/json_reference/ | ||
// User defined settings | ||
"containerEnv": { | ||
"TZ": "Europe/London" | ||
}, | ||
// Fixed settings | ||
"name": "samp-plugin-sky-dev", | ||
"postCreateCommand": "~/.ssh.sh", | ||
"dockerComposeFile": "docker-compose.yml", | ||
"overrideCommand": true, | ||
"service": "vscode", | ||
"workspaceFolder": "/workspace", | ||
"mounts": [ | ||
// Source code | ||
{ | ||
"source": "../", | ||
"target": "/workspace", | ||
"type": "bind" | ||
}, | ||
// Zsh commands history persistence | ||
{ | ||
"source": "${localEnv:HOME}/.zsh_history", | ||
"target": "/root/.zsh_history", | ||
"type": "bind" | ||
}, | ||
// Git configuration file | ||
{ | ||
"source": "${localEnv:HOME}/.gitconfig", | ||
"target": "/root/.gitconfig", | ||
"type": "bind" | ||
}, | ||
// SSH directory for Linux, OSX and WSL | ||
// On Linux and OSX, a symlink /mnt/ssh <-> ~/.ssh is | ||
// created in the container. On Windows, files are copied | ||
// from /mnt/ssh to ~/.ssh to fix permissions. | ||
{ | ||
"source": "${localEnv:HOME}/.ssh", | ||
"target": "/mnt/ssh", | ||
"type": "bind" | ||
}, | ||
// Docker socket to access the host Docker server | ||
{ | ||
"source": "/var/run/docker.sock", | ||
"target": "/var/run/docker.sock", | ||
"type": "bind" | ||
} | ||
], | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"IBM.output-colorizer", | ||
"eamodio.gitlens", | ||
"mhutchie.git-graph", | ||
"davidanson.vscode-markdownlint", | ||
"shardulm94.trailing-spaces", | ||
"alefragnani.Bookmarks", | ||
"Gruntfuggly.todo-tree", | ||
"mohsen1.prettify-json", | ||
"quicktype.quicktype", | ||
"spikespaz.vscode-smoothtype", | ||
"stkb.rewrap", | ||
"vscode-icons-team.vscode-icons", | ||
"ms-azuretools.vscode-docker", | ||
"github.copilot", | ||
"ms-vscode.cpptools-extension-pack", | ||
"ms-vscode.cmake-tools" | ||
], | ||
"settings": { | ||
// General settings | ||
"files.eol": "\n", | ||
// Docker | ||
"remote.extensionKind": { | ||
"ms-azuretools.vscode-docker": "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,3 @@ | ||
services: | ||
vscode: | ||
build: . |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
version: "2" | ||
version: "3" | ||
|
||
tasks: | ||
build: | ||
|