From d78c9704279c946c5d5965c4c4bf3e44ceea7ece Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Fri, 1 Jul 2022 13:07:00 +0430 Subject: updates --- irssi/Dockerfile | 13 +++++++++++-- irssi/build_and_push.sh | 3 +++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100755 irssi/build_and_push.sh (limited to 'irssi') diff --git a/irssi/Dockerfile b/irssi/Dockerfile index 7b4147a..c71dc17 100644 --- a/irssi/Dockerfile +++ b/irssi/Dockerfile @@ -1,6 +1,14 @@ # https://github.com/jessfraz/irssi -FROM alpine:3.13 +# For the time being we have build on alpine:edge since perl::Glib::Object::Introspection is only available on edge/testing +FROM alpine:edge +# https://georgik.rocks/how-to-start-d-bus-in-docker-container/ +# apk add dbus dbus-x11 +# dbus-uuidgen > /var/lib/dbus/machine-id +# mkdir -p /var/run/dbus +# dbus-daemon --config-file=/usr/share/dbus-1/system.conf --print-address +# export $(dbus-launch) +RUN echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && apk update RUN apk add --no-cache \ ca-certificates \ perl-libwww @@ -75,7 +83,8 @@ RUN set -eux; \ | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ )"; \ apk add --no-network --virtual .irssi-rundeps $runDeps; \ - apk add --no-cache perl-glib perl-datetime perl-dbi perl-dbd-pg perl-lwp-protocol-https proxychains-ng; \ + echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && apk update; \ + apk add --no-cache perl-glib perl-datetime perl-dbi perl-dbd-pg perl-lwp-protocol-https proxychains-ng perl-glib-object-introspection libnotify; \ apk del --no-network .build-deps; \ \ # basic smoke test diff --git a/irssi/build_and_push.sh b/irssi/build_and_push.sh new file mode 100755 index 0000000..eb12244 --- /dev/null +++ b/irssi/build_and_push.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +https_proxy=socks5://[::1]:9993 docker buildx build --platform linux/amd64 --push -t bloodstalker/irssi . -- cgit v1.2.3