diff --git a/system-images/static-websites/Dockerfile b/system-images/static-websites/Dockerfile index e9c6db2..3b2b902 100644 --- a/system-images/static-websites/Dockerfile +++ b/system-images/static-websites/Dockerfile @@ -1,42 +1,42 @@ FROM ubuntu:18.04 LABEL Description="KDE Static website generation image" MAINTAINER Bhushan Shah USER root -RUN apt update && apt install --yes \ +RUN DEBIAN_FRONTEND=noninteractive apt update && apt install --yes \ ruby \ ruby-dev \ build-essential \ libsqlite3-dev \ zlib1g-dev \ git \ python3-pip \ php7.2-cli \ fontforge \ wget curl rsync pandoc && apt clean RUN curl -sS https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && echo "deb https://deb.nodesource.com/node_10.x bionic main" > /etc/apt/sources.list.d/nodesource.list RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list RUN apt update && apt install --yes yarn && apt clean RUN wget https://github.com/gohugoio/hugo/releases/download/v0.41/hugo_0.41_Linux-64bit.deb && \ dpkg -i hugo_0.41_Linux-64bit.deb && rm hugo_0.41_Linux-64bit.deb RUN gem update --system && gem install xdg:2.2.5 jekyll:3.8.4 jekyll-feed jekyll-planet jekyll-theme-minimal jekyll-readme-index jekyll-relative-links jekyll-environment-variables pluto bundler haml redcarpet minima rdiscount inqlude addressable jekyll-kde-theme rouge RUN pip3 install sphinx-intl sphinx_rtd_theme sphinxcontrib-doxylink RUN wget https://getcomposer.org/download/1.9.0/composer.phar && mv composer.phar /usr/bin/composer && chmod +x /usr/bin/composer RUN apt-get -qq update && apt-get install -qq \ openssh-server \ openjdk-8-jre-headless \ && dpkg-reconfigure openssh-server && mkdir -p /var/run/sshd && apt-get -qq clean # Setup a user account for everything else to be done under RUN useradd -d /home/user/ -u 1000 --user-group --create-home -G video user EXPOSE 22 CMD ["/usr/sbin/sshd", "-D"]