Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ LABEL org.opencontainers.image.authors="cougar@random.ee"
ENV DEBIAN_FRONTEND noninteractive
RUN apt update && \
apt upgrade --yes && \
apt install --no-install-recommends --yes ca-certificates curl gpg locales sudo tzdata && \
apt install --no-install-recommends --yes ca-certificates curl gpg locales sudo tzdata software-properties-common gpg-agent && \
rm -rf /var/lib/apt/lists/* && \
groupadd -g 1000 openeid && \
useradd -u 1000 -g 1000 -m openeid && \
echo "openeid ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
localedef -i et_EE -c -f UTF-8 -A /usr/share/locale/locale.alias et_EE.UTF-8 && \
ln -sf /usr/share/zoneinfo/Europe/Tallinn /etc/localtime
ln -sf /usr/share/zoneinfo/Europe/Tallinn /etc/localtime && \
add-apt-repository ppa:mozillateam/ppa -y && \
echo 'Package: *\nPin: release o=LP-PPA-mozillateam\nPin-Priority: 1001\n' > /etc/apt/preferences.d/mozilla-firefox && \
echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}";' > /etc/apt/apt.conf.d/51unattended-upgrades-firefox && \
apt install -y firefox

ENV LANG et_EE.UTF-8
ENV TZ Europe/Tallinn
Expand Down