Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

TLS for apt #269

Open
ghost opened this issue Dec 25, 2018 · 1 comment
Open

TLS for apt #269

ghost opened this issue Dec 25, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 25, 2018

For the Debian 9 base image, could downloading packages via TLS be added?

I can create a pull request for this that edits the shell script that builds this image to get started.

This is from something similar I've done that would give you an idea about how the pull request would look:

RUN apt update && apt install -y apt-transport-https git ca-certificates

RUN rm -f /etc/apt/sources.list \
  && echo "deb https://deb.debian.org/debian stretch main" > /etc/apt/sources.list \
  && echo "deb https://deb.debian.org/debian stretch-updates main" >> /etc/apt/sources.list \
  && echo "deb https://deb.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list

NOTE: Also open to other suggestions like maybe adding a README file or putting how to do this somewhere in the comments.

@dlorenc
Copy link
Contributor

dlorenc commented Feb 1, 2019

Sounds good to me!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant