Nieuwe networks

This commit is contained in:
maurice
2026-03-12 10:45:13 +01:00
parent 21cbf0d212
commit 9f435b6a30
6 changed files with 26 additions and 12 deletions

View File

@@ -1,2 +0,0 @@
#!/bin/bash
arg "-p 5173:5173 --network dev-php"

View File

@@ -4,4 +4,6 @@ USER root
RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
dnf -y --setopt=keepcache=1 install go
RUN go install golang.org/x/tools/gopls@latest
USER user

View File

@@ -1,3 +1,2 @@
#!/bin/bash
arg "-p 8080:8080"
arg "-p 8081:8081"
arg "-p 8888:8888"

View File

@@ -1,12 +1,24 @@
FROM git.plabble.org/maurice/fedora:main
USER root
RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
dnf -y --setopt=keepcache=1 install openssl-devel \
gcc-c++ libX11-devel alsa-lib-devel systemd-devel wayland-devel libxkbcommon-devel mesa-vulkan-drivers
USER user
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN . '/home/user/.cargo/env' && rustup component add rust-analyzer
# Raspberry Pi Pico tools
RUN sudo dnf install -y \
systemd-devel \
pkg-config \
&& dnf clean all
RUN . "$HOME/.cargo/env" && cargo install elf2uf2-rs --locked
RUN . "$HOME/.cargo/env" && rustup target add thumbv6m-none-eabi
# RUN sudo dnf install -y \
# systemd-devel \
# pkg-config \
# && dnf clean all
# RUN . "$HOME/.cargo/env" && cargo install elf2uf2-rs --locked
# RUN . "$HOME/.cargo/env" && rustup target add thumbv6m-none-eabi
# WASM toolchain
RUN curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | sh
RUN cargo install cargo-generate

View File

@@ -0,0 +1,2 @@
#!/bin/bash
arg "--device=/dev/bus/usb --privileged"