Skip to content
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
6e47778
Added `devcontrainer` test for `neo-cli`
cschuchardt88 Jun 24, 2024
ddc33da
Basic contrainer setup
cschuchardt88 Jun 24, 2024
c23f15b
Updated version of `checkout` action job's step.
cschuchardt88 Jun 24, 2024
9f62660
Changed to `neo-cli`
cschuchardt88 Jun 24, 2024
1b06cc1
Update `dockerfile`
cschuchardt88 Jun 24, 2024
058d16a
Updated `PostCreateCommand`
cschuchardt88 Jun 24, 2024
6be5733
Changed to `bookworm-slim`
cschuchardt88 Jun 24, 2024
0ce7674
Reverted to `Jammy`
cschuchardt88 Jun 24, 2024
41ad46e
Added `sudo` command for `PostCreateCommand`
cschuchardt88 Jun 24, 2024
66e3b34
Added permissions
cschuchardt88 Jun 24, 2024
5707d39
Removed `screen` command
cschuchardt88 Jun 24, 2024
299973b
Added to `bin` and `PostCreateCommand`
cschuchardt88 Jun 24, 2024
5e54cf1
Changed `devcontainer` files
cschuchardt88 Jun 24, 2024
3ec9f3b
Reverted builds
cschuchardt88 Jun 24, 2024
02f6229
Added `neo` repo to devcontainer
cschuchardt88 Jun 24, 2024
85cf83e
Changed to docker-image for github registry
cschuchardt88 Jun 24, 2024
34cb95f
Fixed Bugs in `docker` support for `neo-cli` image
cschuchardt88 Jun 25, 2024
a07c619
Added type `container`
cschuchardt88 Jun 25, 2024
e3fbfbd
Revert `.devcontainer` folder
cschuchardt88 Jun 25, 2024
48ddb3c
format
cschuchardt88 Jun 25, 2024
57233d2
Changed workflow to `docker` for `pkgs-delete.yml` since we use `v4`
cschuchardt88 Jun 25, 2024
b877de0
Deleted `Dockerfile` from `src\Neo.CLI`
cschuchardt88 Jun 25, 2024
8821807
Merge branch 'master' into add/tests/devcontainer-workflow
cschuchardt88 Jun 26, 2024
b7c941c
Revert "Deleted `Dockerfile` from `src\Neo.CLI`"
cschuchardt88 Jun 26, 2024
5a18caa
Merge branch 'master' into add/tests/devcontainer-workflow
Jul 23, 2024
e960297
Merge branch 'master' into add/tests/devcontainer-workflow
cschuchardt88 Jul 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .devcontainer/devcontainer.dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
FROM mcr.microsoft.com/devcontainers/dotnet:8.0-jammy
# Install the libleveldb-dev package
RUN apt-get update && apt-get install -y libleveldb-dev
RUN apt-get update
Comment thread
cschuchardt88 marked this conversation as resolved.
Outdated
RUN apt-get install -y libleveldb-dev
RUN dotnet workload update
Comment thread
cschuchardt88 marked this conversation as resolved.
Outdated
26 changes: 13 additions & 13 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/dotnet
{
"name": "C# (.NET)",
"build": {
// Path is relative to the devcontainer.json file.
"dockerfile": "devcontainer.dockerfile"
},
"postCreateCommand": "dotnet build",
"customizations": {
"vscode": {
"extensions": [
"ms-dotnettools.csdevkit"
]
}
}
"name": "C# (.NET)",
"build": {
// Path is relative to the devcontainer.json file.
"dockerfile": "devcontainer.dockerfile"
},
//"postCreateCommand": "",
"customizations": {
"vscode": {
"extensions": [
"ms-dotnettools.csdevkit"
]
}
}
}
25 changes: 25 additions & 0 deletions .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build & Publish (devcontainer)

on:
push:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and run Dev Container task
uses: devcontainers/ci@v0.3
with:
imageName: ghcr.io/${{ github.repository_owner }}/neo
push: always