I'm trying to figure out how to install LaTeX (specifically, this texlive package) into Google's Debian8 Docker image, which is called gcr.io/google-appengine/debian8
. I wish I could provide a link to that, but I can't find it on Docker or on GitHub. Actually, I'm using this image which derives indirectly from it.
If I try and install it into the image I get an error:
> apt-get install texlive
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package texlive
I suspect I need to add an appropriate source (and possibly key) to the apt sources, but I have no idea how to figure out what exactly. I believe I'd end up with a Docker command along the lines of this (but likely simpler):
RUN \
apt-get -q update && apt-get install --no-install-recommends -y -q curl git ca-certificates apt-transport-https openssh-client && \
curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list && \
curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_unstable.list > /etc/apt/sources.list.d/dart_unstable.list && \
apt-get update && \
apt-get install dart=$DART_VERSION-1 && \
rm -rf /var/lib/apt/lists/*
Can anyone point me in the right direction here? How do I determine what needs to be added to /etc/apt/sources
to make the texlive
package show up?
google-appengine/debian8
with docker, run a terminal, did aapt search
.textlive
package is in the repo. Did you runapt update
before callingapt-get install texlive
? – JohnKoch Mar 10 '19 at 14:09sources.list
right after installation? How does it look like now? Must it be a google image or did you just choose randomly? – Nepumuk Mar 10 '19 at 16:37deb http://ftp.de.debian.org/debian jessie main
in yoursources.list
? – Nepumuk Mar 10 '19 at 16:43