From d134acbceecd4a51a193e921e2602f04c197b4a1 Mon Sep 17 00:00:00 2001 From: Bastien Riviere Date: Thu, 2 May 2024 16:58:12 +0200 Subject: [PATCH] feat: add go packages --- Containerfile | 8 ++++++-- extra-packages | 1 + go-packages | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 go-packages diff --git a/Containerfile b/Containerfile index a25c67e..b259d16 100644 --- a/Containerfile +++ b/Containerfile @@ -11,10 +11,14 @@ RUN apk update && \ grep -v '^#' /extra-packages | xargs apk add RUN rm /extra-packages +COPY go-packages / +RUN grep -v '^#' /go-packages | xargs go install +RUN rm /go-packages +RUN mv /root/go/bin/* /usr/local/bin/ + RUN ln -fs /bin/sh /usr/bin/sh && \ ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/docker && \ - ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/flatpak && \ + ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/flatpak && \ ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/podman && \ ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/rpm-ostree && \ ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/transactional-update - diff --git a/extra-packages b/extra-packages index 538b28f..af4ac64 100644 --- a/extra-packages +++ b/extra-packages @@ -8,6 +8,7 @@ dbus-x11 direnv emacs-pgtk eza +fd ffmpeg fzf github-cli diff --git a/go-packages b/go-packages new file mode 100644 index 0000000..6450439 --- /dev/null +++ b/go-packages @@ -0,0 +1 @@ +forge.babariviere.com/babariviere/sealme@latest \ No newline at end of file