Files
ubuntu-bionic-systemd-iotedge/Dockerfile
Pavel Vitouš 6e17a0dd28 Update Dockerfile
commented useless stuff
2021-08-30 23:17:24 +02:00

15 lines
690 B
Docker

FROM registry.nestybox.com/nestybox/ubuntu-bionic-systemd-docker
RUN curl https://packages.microsoft.com/config/ubuntu/18.04/multiarch/prod.list > ./microsoft-prod.list &&\
cp ./microsoft-prod.list /etc/apt/sources.list.d/ &&\
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg &&\
cp ./microsoft.gpg /etc/apt/trusted.gpg.d/ &&\
apt-get update &&\
apt-get install -y moby-engine nano aziot-edge &&\
#mkdir -p /etc/aziot/config &&\
#touch /etc/aziot/config/config.toml &&\
ln -s /etc/aziot/config/config.toml /etc/aziot/config.toml &&\
rm -rf /var/lib/{apt,dpkg,cache,log}/
# connect CM to /etc/aziot/config.toml
# iotedge config apply