Compare commits

..

No commits in common. "b0e961645b632f2912e5c23d141f491d0473da61" and "ae1dcd14e1f4645999c9f9fa53ba551d3c58d83d" have entirely different histories.

4 changed files with 14 additions and 32 deletions

View file

@ -4,12 +4,8 @@ LABEL com.github.containers.toolbox="true" \
name="daylinbox" \
version="base-devel" \
usage="This image is meant to be used by daylin" \
maintainer="Daylin Morgan <me@dayl.in>" \
summary="Daylin's distrobox Conatiner"
# unclear if this is needed
RUN pacman-key --init
maintainer="Daylin Morgan <me@dayl.in>"
# summary="Base image for creating Arch Linux Toolbx containers" \
# Install extra packages
COPY extra-packages my-extra-packages /
RUN pacman -Syu --needed --noconfirm - < extra-packages
@ -34,5 +30,6 @@ RUN wget -qcO /usr/bin/pixi \
# Clean up cache
RUN yes | pacman -Scc
# Enable sudo permission for wheel users
RUN echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/toolbox

5
Makefile Normal file
View file

@ -0,0 +1,5 @@
build: ## build the image!
podman build . -t daylinbox
-include .task.mk
$(if $(filter help,$(MAKECMDGOALS)),$(if $(wildcard .task.mk),,.task.mk: ; curl -fsSL https://raw.githubusercontent.com/daylinmorgan/task.mk/v2024.1001/task.mk -o .task.mk))

View file

@ -1,11 +1,9 @@
bat
cmake
eza
fd
fzf
git-delta
lazygit
neovim
python
neovim
fd
ripgrep
zoxide
fzf
eza
lazygit
git-delta

View file

@ -1,18 +0,0 @@
#!/usr/bin/env python3
if not (
(_i := __import__)("importlib.util").util.find_spec("swydd")
or (_src := _i("pathlib").Path(__file__).parent / "swydd/__init__.py").is_file()
): # noqa | https://github.com/daylinmorgan/swydd?tab=readme-ov-file#automagic-snippet
_r = _i("urllib.request").request.urlopen("https://swydd.dayl.in/swydd.py")
_src.parent.mkdir(exist_ok=True)
_src.write_text(_r.read().decode())
from swydd import task, sub, cli, ctx
@task
def build():
"""build the image (forwards positioanl args)"""
sub("podman build . -t daylinbox " + " ".join(ctx.rest))
cli("build")