Skip to content

Instantly share code, notes, and snippets.

@racklin
Created June 16, 2019 11:27
Show Gist options
  • Select an option

  • Save racklin/daff243524d669e052f92c49a01ff0b1 to your computer and use it in GitHub Desktop.

Select an option

Save racklin/daff243524d669e052f92c49a01ff0b1 to your computer and use it in GitHub Desktop.

Revisions

  1. racklin created this gist Jun 16, 2019.
    2 changes: 2 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    COPY sources.list /etc/apt/sources.list
    COPY buster.list /etc/apt/sources.list.d/
    1 change: 1 addition & 0 deletions buster.list
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    # empty
    8 changes: 8 additions & 0 deletions profile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    modify /var/lib/boot2docker/profile


    EXTRA_ARGS='
    --label provider=vmwareworkstation
    --registry-mirror=https://registry.docker-cn.com
    '
    17 changes: 17 additions & 0 deletions sources.list
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib
    deb-src http://mirrors.aliyun.com/debian/ stretch main non-free contrib
    deb http://mirrors.aliyun.com/debian-security stretch/updates main
    deb-src http://mirrors.aliyun.com/debian-security stretch/updates main
    deb http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
    deb-src http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
    deb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib
    deb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib

    deb http://mirrors.163.com/debian/ stretch main non-free contrib
    deb http://mirrors.163.com/debian/ stretch-updates main non-free contrib
    deb http://mirrors.163.com/debian/ stretch-backports main non-free contrib
    deb-src http://mirrors.163.com/debian/ stretch main non-free contrib
    deb-src http://mirrors.163.com/debian/ stretch-updates main non-free contrib
    deb-src http://mirrors.163.com/debian/ stretch-backports main non-free contrib
    deb http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib
    deb-src http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib