Skip to content

Instantly share code, notes, and snippets.

View skymoore's full-sized avatar
💭
undefined

Sky Moore skymoore

💭
undefined
View GitHub Profile
@skyscribe
skyscribe / Dockerfile
Last active March 16, 2023 16:39
Build slim rust with alpine and cargo chef
FROM docker-registry-remote.artifactory-espoo1.int.net.nokia.com/rust:1.66-alpine as chef
RUN apk add --no-cache musl-dev
RUN cargo --version
RUN cargo install cargo-chef
WORKDIR /app
FROM chef as planner
COPY Cargo.toml Cargo.lock ./
RUN cargo chef prepare --recipe-path recipe.json
@satreix
satreix / custom_archlinux_live_USB.md
Last active March 15, 2024 10:32
Custom Arch Linux live USB

Custom Arch Linux live USB

Setup

Install the dependencies for the archiso package:

(root): pacman -S make squashfs-tools libisoburn dosfstools patch lynx devtools git

I recommend archiso getting them from git, there is a package in the repositories, however, at this time of writing, it will not work with the instructions below. So, grab the most recent version from git and install it:

(user): git clone git://projects.archlinux.org/archiso.git && cd archiso