FROM alpine:latest
RUN apk --no-cache --update \
add unzip libaio libpq-dev icu-dev icu-data-full \
apache2 \
apache2-ssl \
apache2-utils \
- copy
/usr/bin/loop.sh
and/usr/bin/ntp.sh
to/usr/bin/
- edit
ntp.sh
and set URL of your timeserver (line #3).
The device does not support SSL so it is required to use http://.
Best scenario is to have a local server for that. Due to the fact, that the SBT needs some time itself to run this, we may define a offset, that is added to the time to set! - edit
/etc/init.d/rcS
and add/usr/bin/loop.sh start