infrastructure/signald-builder.Dockerfile

30 lines
760 B
Text
Raw Permalink Normal View History

2020-12-02 11:00:46 +00:00
FROM debian:latest
RUN dpkg --add-architecture armhf && dpkg --add-architecture arm64
ADD apt-signing-key.asc /tmp/apt-signing-key.asc
2020-12-02 11:00:46 +00:00
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 \
2021-01-25 07:19:56 +00:00
aptly \
build-essential \
crossbuild-essential-armhf \
crossbuild-essential-arm64 \
2020-12-02 11:00:46 +00:00
&& rm -rf /var/lib/apt/lists/*
2020-12-02 11:00:46 +00:00
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
RUN adduser signald
2020-12-02 11:00:46 +00:00
USER signald
RUN gpg --no-default-keyring --keyring trustedkeys.gpg --import /tmp/apt-signing-key.asc