Dockerfile 893 B

1234567891011121314151617181920
  1. FROM docker.io/ubuntu:18.04
  2. # TODO multi-stage build to remove installer
  3. COPY ./devolo-cockpit-v5-1-6-2-linux.run /devolo-cockpit-setup
  4. RUN dpkg --add-architecture i386 \
  5. && apt-get update \
  6. && apt-get install --no-install-recommends --yes lzma xz-utils \
  7. && DEBIAN_FRONTEND=noninteractive /devolo-cockpit-setup \
  8. && apt-get purge --autoremove --yes xz-utils \
  9. && dpkg --listfiles devolo-dlan-cockpit \
  10. && rm -rf /devolo-cockpit-setup /var/lib/apt/lists/* \
  11. && rm /etc/apt/sources.list.d/devolo-updates.list
  12. #RUN apt-get update \
  13. # && apt-get install --no-install-recommends --yes strace \
  14. # && rm -rf /var/lib/apt/lists/*
  15. # gui: strace -e trace=!recvmsg,poll,futex,mprotect,semop,writev -f /opt/devolo/dlancockpit/bin/dlancockpit-run.sh
  16. CMD ["/usr/bin/devolonetsvc"]
  17. #CMD ["strace", "-e", "trace=!_newselect,clock_gettime", "-f", "/usr/bin/devolonetsvc"]