Yann PETIT created ZEPPELIN-4783:
------------------------------------
Summary: Dockerfile PUBKEY for cran.rstudio.com is not available
Key: ZEPPELIN-4783
URL: https://issues.apache.org/jira/browse/ZEPPELIN-4783
Project: Zeppelin
Issue Type: Bug
Affects Versions: 0.9.0
Reporter: Yann PETIT
I use a Dockerfile based on latest Zeppelin one using
{code:java}
FROM apache/zeppelin:0.9.0{code}
If i do a *RUN apt-get update* I got the following message :
{noformat}
W: GPG error: http://cran.rstudio.com/bin/linux/ubuntu xenial/ InRelease: The
following signatures couldn't be verified because the public key is not
available: NO_PUBKEY 51716619E084DAB9
W: The repository 'http://cran.rstudio.com/bin/linux/ubuntu xenial/ InRelease'
is not signed.{noformat}
And the *apt-get install* commands eventually fails.
So I tried to build the docker image from Zeppelin sources and noticed the same
warning.
Digging around that I found that it could be fixed by adding :
{code:java}
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
51716619E084DAB9{code}
Despite this is just a warning at Docker image build time, it makes difficult
to extend the generated image and force to apply a patch before being able to
apt install anything else in an inherited docker image,or in the container
built from the image.
May be linked to ZEPPELIN-4338 but the solution which was to allow
unauthenticated access to *cran* isn't sufficient to solve this one.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)