diff options
author | terminaldweller <thabogre@gmail.com> | 2022-07-01 08:37:00 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-07-01 08:37:00 +0000 |
commit | d78c9704279c946c5d5965c4c4bf3e44ceea7ece (patch) | |
tree | 9527aa20370d26097c26bd116ec2b6dcabe106c9 /irssi | |
parent | jabber, steam (diff) | |
download | scripts-d78c9704279c946c5d5965c4c4bf3e44ceea7ece.tar.gz scripts-d78c9704279c946c5d5965c4c4bf3e44ceea7ece.zip |
updates
Diffstat (limited to '')
-rw-r--r-- | irssi/Dockerfile | 13 | ||||
-rwxr-xr-x | irssi/build_and_push.sh | 3 |
2 files changed, 14 insertions, 2 deletions
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 . |