I've opened up Github Discussions to further discuss Jailmaker.
This file contains hidden or 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
(function enable() { | |
var titleSuffixCounter = 0; | |
var popupWidth = 480; | |
var popupHeight = 270; | |
var xOffset = screen.availLeft, | |
yOffset = screen.availTop; | |
const data = { | |
windows: [], |
This file contains hidden or 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
FROM alpine as bootstrap | |
# Optionally add e.g. coreutils (if you don't want to remove the shell) | |
ARG PACKAGES_TO_INSTALL="openjdk11-jre" | |
ARG REMOVE_SHELL=1 | |
# Create rootfs folder and enable apk repo | |
RUN mkdir -p /rootfs/etc/apk && \ | |
cp -a /etc/apk/repositories /rootfs/etc/apk/repositories && \ | |
cp -a /etc/apk/keys /rootfs/etc/apk/keys |
See the example usage inside configparser.py
. Output when running the configparser.py
file:
# Comments may appear before the first section
[Simple Values]
key = value
spaces in keys = allowed
spaces in values = allowed as well
spaces around the delimiter = obviously
This file contains hidden or 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
#!/usr/bin/env python3 | |
import os | |
import sys | |
__requirements__ = {"docker==7.1.0"} | |
def _setup_env(): | |
venv = os.path.join(os.path.dirname(__file__), ".venv") |
This file contains hidden or 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
#!/usr/bin/env bash | |
# Specify destination for extension rootfs | |
ROOTFS_PATH=/mnt/tank/some/dataset/ext/rootfs | |
# List of packages to install | |
PACKAGES="usbutils" | |
# Download minimal debian base rootfs | |
mkdir -p "$ROOTFS_PATH" | |
curl -L https://github.com/debuerreotype/docker-debian-artifacts/raw/dist-amd64/bookworm/slim/rootfs.tar.xz | tar -xJ -C "$ROOTFS_PATH" --numeric-owner |
OlderNewer