Remove net-select in debian docker

This commit is contained in:
Sukchan Lee 2019-05-01 17:43:42 +09:00
parent 39766bc379
commit a5f764544f
1 changed files with 8 additions and 8 deletions

View File

@ -5,14 +5,14 @@ FROM ${dist}:${tag}
MAINTAINER Sukchan Lee <acetcom@gmail.com>
ARG tag=stable
RUN apt-get update && \
apt-get install -y netselect-apt && \
apt-get clean && \
if [ "x$tag" = "xlatest" ]; then \
netselect-apt -o /etc/apt/sources.list; \
else \
netselect-apt ${tag} -o /etc/apt/sources.list; \
fi
#RUN apt-get update && \
# apt-get install -y netselect-apt && \
# apt-get clean && \
# if [ "x$tag" = "xlatest" ]; then \
# netselect-apt -o /etc/apt/sources.list; \
# else \
# netselect-apt ${tag} -o /etc/apt/sources.list; \
# fi
RUN apt-get update && \
apt-get upgrade -y && \