feat: add go packages

This commit is contained in:
Bastien Riviere 2024-05-02 16:58:12 +02:00
parent 7d63001656
commit d134acbcee
Signed by: babariviere
GPG key ID: 4E5F0839249F162E
3 changed files with 8 additions and 2 deletions

View file

@ -11,10 +11,14 @@ RUN apk update && \
grep -v '^#' /extra-packages | xargs apk add grep -v '^#' /extra-packages | xargs apk add
RUN rm /extra-packages 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 && \ 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/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/podman && \
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/rpm-ostree && \ ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/rpm-ostree && \
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/transactional-update ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/transactional-update

View file

@ -8,6 +8,7 @@ dbus-x11
direnv direnv
emacs-pgtk emacs-pgtk
eza eza
fd
ffmpeg ffmpeg
fzf fzf
github-cli github-cli

1
go-packages Normal file
View file

@ -0,0 +1 @@
forge.babariviere.com/babariviere/sealme@latest