|
|
@ -1,4 +1,3 @@ |
|
|
|
#FROM debian:stable |
|
|
|
FROM docker.io/library/debian:latest |
|
|
|
CMD [ "/sbin/init" ] |
|
|
|
ENTRYPOINT [ "/sbin/init" ] |
|
|
@ -15,13 +14,6 @@ ONBUILD SHELL ["/bin/bash", "-c"] |
|
|
|
# non-interactively for child images |
|
|
|
ONBUILD ENV BASH_ENV=/etc/environment |
|
|
|
|
|
|
|
# We can't use timedatectl because systemd isn't available |
|
|
|
# during the build process, so we have to set the timezone manually |
|
|
|
ENV TZ=US/Eastern |
|
|
|
RUN rm /etc/localtime && \ |
|
|
|
ln -s /usr/share/zoneinfo/$TZ /etc/localtime && \ |
|
|
|
echo $TZ > /etc/timezone |
|
|
|
|
|
|
|
# Install packages |
|
|
|
RUN apt update -y && \ |
|
|
|
apt upgrade -y && \ |
|
|
|