offline-twitter/.woodpecker/docker/innosetup.dockerfile

18 lines
583 B
Plaintext
Raw Permalink Normal View History

2024-02-19 23:25:28 -08:00
# Inspired by: https://github.com/amake/innosetup-docker/
from ubuntu:jammy
shell ["/bin/bash", "-c"]
2024-02-19 23:25:28 -08:00
run dpkg --add-architecture i386
run apt update
run apt install -y curl ssh wine wine32 xvfb winbind
2024-02-19 23:25:28 -08:00
run curl -SL "https://files.jrsoftware.org/is/6/innosetup-6.2.2.exe" -o is.exe
env DISPLAY ":99"
env WINEDEBUG "-all,err+all"
# Not sure why but it just hangs forever without `... || exit 1`
run xvfb-run wine is.exe /SP- /VERYSILENT /ALLUSERS /SUPPRESSMSGBOXES /DOWNLOADISCRYPT=1 || exit 1
2024-02-19 23:25:28 -08:00
copy iscc.sh /usr/bin/iscc.sh
# For SSH upload
copy known_hosts /root/.ssh/known_hosts