Last active
August 14, 2023 19:23
-
-
Save magnetikonline/3a841b5268d5581b4422 to your computer and use it in GitHub Desktop.
Dockerfile Ubuntu apt-get AU mirror switching.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
LABEL maintainer="Peter Mescalchin <[email protected]>" | |
RUN sed --in-place --regexp-extended "s/(\/\/)(archive\.ubuntu)/\1au.\2/" /etc/apt/sources.list && \ | |
apt-get update && apt-get upgrade --yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for this!