Skip to content

Instantly share code, notes, and snippets.

@gofly
Last active February 27, 2019 02:07
Show Gist options
  • Save gofly/0dd827682c4a27e9dd1c702a3d49c2ed to your computer and use it in GitHub Desktop.
Save gofly/0dd827682c4a27e9dd1c702a3d49c2ed to your computer and use it in GitHub Desktop.

Revisions

  1. gofly revised this gist Feb 27, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -3,8 +3,8 @@ RUN sed -i 's/archive\.ubuntu\.com/mirrors.aliyun.com/g;s/security\.ubuntu\.com/
    apt-get update && \
    apt-get upgrade -y && \
    apt-get install --no-install-recommends -y asciidoc autoconf binutils bison bzip2 ca-certificates curl diffutils file flex \
    g++ gawk gcc git libc6-dev libncurses5-dev locales make openssh-client patch python perl rsync subversion texinfo unzip \
    util-linux wget xz-utils zlib1g-dev && \
    g++ gawk gcc git locales make openssh-client patch python perl rsync subversion texinfo unzip \
    util-linux wget xz-utils zlib1g-dev libc6-dev libncurses5-dev libssl-dev && \
    localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \
    rm -rf /var/lib/apt/lists/*
    RUN useradd -m openwrt
  2. gofly revised this gist Feb 26, 2019. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    FROM ubuntu:16.04
    RUN sed -i 's/archive\.ubuntu\.com/mirrors.aliyun.com/g;s/security\.ubuntu\.com/mirrors.aliyun.com/g' /etc/apt/sources.list && \
    apt-get update && \
    apt-get upgrade -y && \
    apt-get install --no-install-recommends -y asciidoc autoconf binutils bison bzip2 ca-certificates curl diffutils file flex \
    g++ gawk gcc git libc6-dev libncurses5-dev locales make openssh-client patch python perl rsync subversion texinfo unzip \
    util-linux wget xz-utils zlib1g-dev && \
  3. gofly revised this gist Feb 26, 2019. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,9 @@
    FROM ubuntu:16.04
    RUN sed -i 's/archive\.ubuntu\.com/mirrors.aliyun.com/g' /etc/apt/sources.list && \
    RUN sed -i 's/archive\.ubuntu\.com/mirrors.aliyun.com/g;s/security\.ubuntu\.com/mirrors.aliyun.com/g' /etc/apt/sources.list && \
    apt-get update && \
    apt-get install --no-install-recommends -y locales make gcc g++ gawk unzip bzip2 wget curl patch file rsync xz-utils python openssh-client ca-certificates git subversion libncurses-dev zlib1g-dev && \
    apt-get install --no-install-recommends -y asciidoc autoconf binutils bison bzip2 ca-certificates curl diffutils file flex \
    g++ gawk gcc git libc6-dev libncurses5-dev locales make openssh-client patch python perl rsync subversion texinfo unzip \
    util-linux wget xz-utils zlib1g-dev && \
    localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \
    rm -rf /var/lib/apt/lists/*
    RUN useradd -m openwrt
  4. gofly created this gist Feb 26, 2019.
    8 changes: 8 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    FROM ubuntu:16.04
    RUN sed -i 's/archive\.ubuntu\.com/mirrors.aliyun.com/g' /etc/apt/sources.list && \
    apt-get update && \
    apt-get install --no-install-recommends -y locales make gcc g++ gawk unzip bzip2 wget curl patch file rsync xz-utils python openssh-client ca-certificates git subversion libncurses-dev zlib1g-dev && \
    localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \
    rm -rf /var/lib/apt/lists/*
    RUN useradd -m openwrt
    ENV LANG en_US.utf8