New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oneliner patching for packagecloud.io trust issue #17
Conversation
docker/base/Dockerfile
Outdated
@@ -47,6 +47,7 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \ | |||
RUN ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1 | |||
|
|||
# install git-lfs | |||
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you combine this with the line below into a single RUN
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
@rokroskar: note that git-lfs is now in the 2.7.x range, should we update that, too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rokroskar : so, let's switch to 2.7.1
, no?
…derstood the problem! ®
@fgeorgatos I still don't understand which problem this addresses. For example, I can do:
Note that |
Co-Authored-By: fgeorgatos <kefalonia@gmail.com>
Co-Authored-By: fgeorgatos <kefalonia@gmail.com>
I can't reproduce this -- keeping the PR open in case it comes back and we can do a minor release. |
Using We have the error in images based on 0.3.2 and earlier, but not in latest. Recommendation is to update the project to use the new images. The risk is that it may go against reproducibility. You can verify this with the Dockerfile using different combinations of WORKS:
Log shows that it is using the updated public key from packagecloud.io,
FAILS:
Log shows that it is using the older public key from packagecloud.io,
|
What you can do is
Or
Note that when you make a new tag and push it, the images should be built by Travis automatically. |
@rokroskar : I understand the motivation of the maintenance release on |
@fgeorgatos note that there's no need to change the dockerfile to fix this, but the base image needs to be rebuilt to use updated apt. Also, if you want to install git-lfs differently, please propose a change! |
I'm closing this for now - please reopen if it becomes an issue again. |
@erbou : do you think this patch makes sense?
This is what it fixes: https://renkulab.io/gitlab/damien.bouffard/datalakes/issues/26