Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/docker' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
cophilot committed Nov 2, 2024
2 parents a5959bd + 0a95153 commit 4ba02a7
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
{
"name": "Existing Dockerfile",
"build": {
// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerfile": "../Dockerfile-dev"
},
"features": {
"ghcr.io/devcontainers/features/rust:1": {
"version": "1.76",
"profile": "complete",
"targets": "aarch64-unknown-linux-gnu"
}
}

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": "cat /etc/os-release",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "devcontainer"
}
12 changes: 12 additions & 0 deletions .github/dependabot.yml
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
6 changes: 6 additions & 0 deletions Dockerfile-dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM ubuntu:24.04

RUN apt update
RUN apt install -y curl python3

COPY scripts /usr/local/bin
2 changes: 1 addition & 1 deletion scripts/comment-check
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

python scripts/py/check_comment.py
python3 scripts/py/check_comment.py
4 changes: 4 additions & 0 deletions scripts/tpyd
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

cargo run $* --dev

0 comments on commit 4ba02a7

Please sign in to comment.