1
0
intel-media-ffmpeg/templates/20-agama-packages.in
James Ketrenos 4a16344e22 Parameterize the repository key location
Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
2019-10-14 10:21:34 -07:00

20 lines
722 B
Plaintext

FROM base AS agama
# Update and install gpg-agent as it isn't in the base Ubuntu image and is needed for apt-key
RUN apt-get -q update \
&& DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -q -y install \
wget \
gpg-agent \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log}
# Fetch and install the signing key for OSGC's Agama repository
RUN wget --no-proxy --quiet -O /tmp/repositories.key ${PACKAGE_KEYFILE} \
&& APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn apt-key add /tmp/repositories.key \
&& rm /tmp/repositories.key
# Add internal Agama repository
RUN apt-add-repository "deb [arch=amd64] ${PACKAGE_REPOSITORY} ${OS_RELEASE} main"
RUN apt-get remove -y wget