blob: 800328ebed7c1536f118266349b6f1c2a4bf9a56 [file] [log] [blame]
FROM debian:10-slim
MAINTAINER coral-support@google.com
RUN /bin/bash -c '\
apt-get update && \
apt-get install -y apt-transport-https apt-utils aptly aptly-publisher autoconf \
automake bc binfmt-support binutils-aarch64-linux-gnu \
build-essential ca-certificates cdbs coreutils cpio \
crossbuild-essential-arm64 crossbuild-essential-armhf curl \
debhelper debian-archive-keyring device-tree-compiler \
dh-python fakeroot gdisk genext2fs git gnome-pkg-tools gnupg \
gpg-agent kpartx libcap-dev libwayland-dev make mtools \
multistrap parted pbuilder pkg-config python python-minimal \
python2.7 python3 python3-all python3-apt python3-debian \
python3-git python3-pip python3-setuptools qemu-user-static \
quilt rsync sudo wget xz-utils zlib1g-dev \
&& \
apt-get clean'
RUN /bin/bash -c '\
curl https://storage.googleapis.com/git-repo-downloads/repo >/usr/local/bin/repo && \
chmod a+x /usr/local/bin/repo'
RUN /bin/bash -c 'git clone https://gerrit.googlesource.com/gcompute-tools /opt/gcompute-tools'
ADD --chown=root:root aptly.conf /etc/aptly.conf
ADD --chown=root:root gpg-agent.conf /etc/gpg-agent.conf
VOLUME ['/var/lib/aptly', '/srv/aptly-publish-fs']
WORKDIR /var/lib/aptly