#!/bin/sh apt -q update||exit 1 apt -yqq dist-upgrade||exit 1 apt -yq install ksh make sudo node-util shellcheck locales git >/dev/null 2>&1||exit 1 sed -i 's/^#.*\(en-IE.UTF-8\)/\1/g' /etc/locale.gen||exit 1 echo ": \"\${LANG:=en_IE.UTF-8}\"; export LANG">>/etc/profile.d/lang locale-gen||exit 1 cp -vpR fakeenv/* / # whyever the docker container comes up with world writable stuff... # "it doesn't work? SOLUTION CHMOD 777 DERP DURP" # assumption 1: cp above was without "-p", and default umask might be 000 # answer 1: seems the docker does not give a sheet about cp -p for i in localfs/ fakeenv/ /;do chmod -R o-w "$i"etc/systemd/system;done systemctl unmask systemd-timesyncd.service; systemctl disable systemd-timesyncd.service