diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c4852eb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,40 @@ +FROM debian:stretch + +RUN apt-get update && \ + apt-get install -y \ + libgnome2-gconf-perl \ + libexpect-perl \ + libnet-proxy-perl \ + libcrypt-cbc-perl \ + libcrypt-blowfish-perl \ + libgtk2-gladexml-perl \ + libgtk2-ex-simple-list-perl \ + libnet-arp-perl \ + libossp-uuid-perl \ + libcrypt-rijndael-perl \ + libgtk2-unique-perl \ + gtk2-engines-pixbuf \ + libvte9 \ + libsocket6-perl \ + libyaml-perl \ + libxml-parser-perl \ + libvte-dev \ + libextutils-depends-perl \ + libextutils-pkgconfig-perl \ + dh-make-perl \ + apt-file \ + openssh-client \ + telnet \ + ftp && \ + apt-file update && \ + dh-make-perl --cpan Gnome2::Vte --build && \ + dpkg -i libgnome2-vte-perl_0.12-1_amd64.deb +COPY pac-4.5.5.7-all.deb /root/pac-4.5.5.7-all.deb +RUN dpkg -i /root/pac-4.5.5.7-all.deb && \ + find /opt/pac/ -name "Vte.so*" -exec rm {} \; && \ + useradd \ + --create-home \ + --user-group \ + user +USER user +ENTRYPOINT [ "pac" ] diff --git a/pac-4.5.5.7-all.deb b/pac-4.5.5.7-all.deb new file mode 100644 index 0000000..c215d5f Binary files /dev/null and b/pac-4.5.5.7-all.deb differ diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..686d6de --- /dev/null +++ b/run.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +set -e + +docker run \ + --rm \ + --shm-size 256M \ + -e DISPLAY=$DISPLAY \ + -v /tmp/.X11-unix:/tmp/.X11-unix \ + -v ~/.Xauthority:/home/user/.Xauthority \ + bryanpedini/pac