infrastructure/signald-builder.Dockerfile

22 lines
524 B
Text
Raw Normal View History

2020-12-02 11:00:46 +00:00
FROM debian:latest
RUN apt-get update && apt-get install -y \
gpg \
dpkg-dev \
apt-utils \
wget \
dh-make \
debhelper \
javahelper \
gradle \
default-jdk-headless \
git-buildpackage \
gradle-debian-helper \
jq \
&& rm -rf /var/lib/apt/lists/*
RUN adduser signald
RUN mkdir /home/signald && chown signald:signald /home/signald
COPY deb-scripts/release-deb.sh /usr/bin/release-deb
COPY deb-scripts/get-component.sh /usr/bin/get-component
COPY deb-scripts/repo-cron.sh /usr/bin/repo-cron
USER signald