2020-06-15 08:08:20 +00:00
|
|
|
ARG DEBIAN_IMAGE_HASH=4ab3309ba955211d1db92f405be609942b595a720de789286376f030502ffd6f
|
|
|
|
FROM debian@sha256:${DEBIAN_IMAGE_HASH} as debian
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive \
|
|
|
|
LANG=C.UTF-8 \
|
|
|
|
TZ=UTC \
|
|
|
|
TERM=xterm-256color \
|
|
|
|
HOME=/home/build \
|
|
|
|
PATH=/home/build/scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
|
|
|
2020-10-08 01:24:58 +00:00
|
|
|
ADD scripts/ /usr/local/bin/
|
|
|
|
|
2020-07-23 08:33:05 +00:00
|
|
|
## Install packages from packages.list with retry
|
|
|
|
ADD config/container/sources.list /etc/apt/sources.list
|
2020-06-15 08:08:20 +00:00
|
|
|
ADD config/container/packages.list /etc/apt/packages.list
|
2020-10-08 01:24:58 +00:00
|
|
|
ADD config/container/apt.conf /etc/apt/apt.conf
|
|
|
|
RUN apt-install
|
2020-06-15 08:08:20 +00:00
|
|
|
|
|
|
|
WORKDIR /home/build
|
|
|
|
|
2020-10-15 23:26:28 +00:00
|
|
|
ENTRYPOINT ["/usr/local/bin/host-env"]
|