Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@domenkozar
Created June 10, 2020 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save domenkozar/fe4a74b88d8e15fd490c2b245e501c0f to your computer and use it in GitHub Desktop.
Save domenkozar/fe4a74b88d8e15fd490c2b245e501c0f to your computer and use it in GitHub Desktop.
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '140.82.113.3' to the list of known hosts.
Switched to a new branch '2.3.4'
KernelVersion: 4.4.0-1060-aws
Components: [{u'Version': u'18.03.1-ee-3', u'Name': u'Engine', u'Details': {u'KernelVersion': u'4.4.0-1060-aws', u'Os': u'linux', u'BuildTime': u'2018-08-30T18:42:30.000000000+00:00', u'ApiVersion': u'1.37', u'MinAPIVersion': u'1.12', u'GitCommit': u'b9a5c95', u'Arch': u'amd64', u'Experimental': u'false', u'GoVersion': u'go1.10.2'}}]
Arch: amd64
BuildTime: 2018-08-30T18:42:30.000000000+00:00
ApiVersion: 1.37
Platform: {u'Name': u''}
Version: 18.03.1-ee-3
MinAPIVersion: 1.12
GitCommit: b9a5c95
Os: linux
GoVersion: go1.10.2
Starting build of index.docker.io/nixos/nix:2.3.4...
Step 1/6 : FROM alpine
---> f70734b6a266
Step 2/6 : RUN apk add --no-cache --update openssl && echo hosts: dns files > /etc/nsswitch.conf
---> Running in 4faf70369924
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
(1/1) Installing openssl (1.1.1g-r0)
Executing busybox-1.31.1-r9.trigger
OK: 6 MiB in 15 packages
Removing intermediate container 4faf70369924
---> 60a636cbbc92
Step 3/6 : ARG NIX_VERSION=2.3.4
---> Running in 359d8cfcf8b1
Removing intermediate container 359d8cfcf8b1
---> 0ede4eee1a04
Step 4/6 : RUN wget https://nixos.org/releases/nix/nix-${NIX_VERSION}/nix-${NIX_VERSION}-x86_64-linux.tar.xz && tar xf nix-${NIX_VERSION}-x86_64-linux.tar.xz && addgroup -g 30000 -S nixbld && for i in $(seq 1 30); do adduser -S -D -h /var/empty -g "Nix build user $i" -u $((30000 + i)) -G nixbld nixbld$i ; done && mkdir -m 0755 /etc/nix && echo 'sandbox = false' > /etc/nix/nix.conf && mkdir -m 0755 /nix && USER=root sh nix-${NIX_VERSION}-x86_64-linux/install && ln -s /nix/var/nix/profiles/default/etc/profile.d/nix.sh /etc/profile.d/ && rm -r /nix-${NIX_VERSION}-x86_64-linux* && rm -rf /var/cache/apk/* && /nix/var/nix/profiles/default/bin/nix-collect-garbage --delete-old && /nix/var/nix/profiles/default/bin/nix-store --optimise && /nix/var/nix/profiles/default/bin/nix-store --verify --check-contents
---> Running in d32dc25fb97d
Connecting to nixos.org (104.248.60.43:443)

Connecting to releases.nixos.org (99.84.181.96:443)

saving to 'nix-2.3.4-x86_64-linux.tar.xz'

nix-2.3.4-x86_64-lin 41% |************* | 6959k 0:00:01 ETA

nix-2.3.4-x86_64-lin 100% |********************************| 16.4M 0:00:00 ETA
'nix-2.3.4-x86_64-linux.tar.xz' saved

warning: installing Nix as root is not supported by this script!
performing a single-user installation of Nix...
copying Nix to /nix/store....
..
..
.
.
.
....
......
.
.
...
...
...
..
..
..

installing 'nix-2.3.4'

building '/nix/store/dyw21lgljiw6zgi13d65717kmrafilgw-user-environment.drv'...
created 6 symlinks in user environment

installing 'nss-cacert-3.49.2'

building '/nix/store/xbr4b1i0b6r5ayc5zjf8xbky5y15qb24-user-environment.drv'...
created 9 symlinks in user environment

unpacking channels...

created 1 symlinks in user environment


Installation finished! To ensure that the necessary environment
variables are set, please add the line
. /root/.nix-profile/etc/profile.d/nix.sh
to your shell profile (e.g. ~/.profile).

removing old generations of profile /nix/var/nix/profiles/default
removing generation 1
removing old generations of profile /nix/var/nix/profiles/per-user/root/channels

finding garbage collector roots...
deleting garbage...

deleting '/nix/store/dyw21lgljiw6zgi13d65717kmrafilgw-user-environment.drv'
deleting '/nix/store/04z1n36fhpdr0fayp2s2v3fp3njvsr79-user-environment'
deleting '/nix/store/21l6cxgr0m5n772jm2cgd64vl0jp280g-nixpkgs-unstable'
deleting '/nix/store/7f2nslxh9byj6lkhb4zv85krzdp9ivsf-env-manifest.nix'
deleting '/nix/store/trash'
deleting unused links...
note: currently hard linking saves -0.00 MiB

4 store paths deleted, 0.00 MiB freed
0.22 MiB freed by hard-linking 248 files

reading the Nix store...
checking path existence...
checking hashes...

Removing intermediate container d32dc25fb97d
---> 4ed2b7d4917d
Step 5/6 : ONBUILD ENV ENV=/etc/profile USER=root PATH=/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/bin:/sbin:/usr/bin:/usr/sbin GIT_SSL_CAINFO=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt NIX_SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt
---> Running in c343ad258bd9
Removing intermediate container c343ad258bd9
---> 87ee05879a30
Step 6/6 : ENV ENV=/etc/profile USER=root PATH=/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/bin:/sbin:/usr/bin:/usr/sbin GIT_SSL_CAINFO=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt NIX_SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt NIX_PATH=/nix/var/nix/profiles/per-user/root/channels
---> Running in 5b2dc26df798
Removing intermediate container 5b2dc26df798
---> 3df51349d9bb
Successfully built 3df51349d9bb
Successfully tagged nixos/nix:2.3.4
Pushing index.docker.io/nixos/nix:2.3.4...
Done!
Build finished
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '140.82.114.3' to the list of known hosts.
Switched to a new branch '2.3.6'
KernelVersion: 4.4.0-1060-aws
Components: [{u'Version': u'19.03.8', u'Name': u'Engine', u'Details': {u'KernelVersion': u'4.4.0-1060-aws', u'Os': u'linux', u'BuildTime': u'2020-03-11T01:24:30.000000000+00:00', u'ApiVersion': u'1.40', u'MinAPIVersion': u'1.12', u'GitCommit': u'afacb8b7f0', u'Arch': u'amd64', u'Experimental': u'false', u'GoVersion': u'go1.12.17'}}, {u'Version': u'1.2.13', u'Name': u'containerd', u'Details': {u'GitCommit': u'7ad184331fa3e55e52b890ea95e65ba581ae3429'}}, {u'Version': u'1.0.0-rc10', u'Name': u'runc', u'Details': {u'GitCommit': u'dc9208a3303feef5b3839f4323d9beb36df0a9dd'}}, {u'Version': u'0.18.0', u'Name': u'docker-init', u'Details': {u'GitCommit': u'fec3683'}}]
Arch: amd64
BuildTime: 2020-03-11T01:24:30.000000000+00:00
ApiVersion: 1.40
Platform: {u'Name': u'Docker Engine - Community'}
Version: 19.03.8
MinAPIVersion: 1.12
GitCommit: afacb8b7f0
Os: linux
GoVersion: go1.12.17
Starting build of index.docker.io/nixos/nix:2.3.6...
Step 1/6 : FROM alpine
---> a24bb4013296
Step 2/6 : RUN apk add --no-cache --update openssl && echo hosts: dns files > /etc/nsswitch.conf
---> Running in 76ee468e0667
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
(1/1) Installing openssl (1.1.1g-r0)
Executing busybox-1.31.1-r16.trigger
OK: 6 MiB in 15 packages
Removing intermediate container 76ee468e0667
---> 171ba1686c55
Step 3/6 : ARG NIX_VERSION=2.3.6
---> Running in 10fd9ea4f5d5
Removing intermediate container 10fd9ea4f5d5
---> 39d67db1f988
Step 4/6 : RUN wget https://nixos.org/releases/nix/nix-${NIX_VERSION}/nix-${NIX_VERSION}-x86_64-linux.tar.xz && tar xf nix-${NIX_VERSION}-x86_64-linux.tar.xz && addgroup -g 30000 -S nixbld && for i in $(seq 1 30); do adduser -S -D -h /var/empty -g "Nix build user $i" -u $((30000 + i)) -G nixbld nixbld$i ; done && mkdir -m 0755 /etc/nix && echo 'sandbox = false' > /etc/nix/nix.conf && mkdir -m 0755 /nix && USER=root sh nix-${NIX_VERSION}-x86_64-linux/install && ln -s /nix/var/nix/profiles/default/etc/profile.d/nix.sh /etc/profile.d/ && rm -r /nix-${NIX_VERSION}-x86_64-linux* && rm -rf /var/cache/apk/* && /nix/var/nix/profiles/default/bin/nix-collect-garbage --delete-old && /nix/var/nix/profiles/default/bin/nix-store --optimise && /nix/var/nix/profiles/default/bin/nix-store --verify --check-contents
---> Running in 14308213719e
Connecting to nixos.org (159.65.216.232:443)

Connecting to releases.nixos.org (54.192.30.104:443)

saving to 'nix-2.3.6-x86_64-linux.tar.xz'

nix-2.3.6-x86_64-lin 
 1% 
| | 
 301k
 0:00:54 ETA


nix-2.3.6-x86_64-lin 
100% 
|********************************| 
16.4M
 0:00:00 ETA


'nix-2.3.6-x86_64-linux.tar.xz' saved

warning: installing Nix as root is not supported by this script!
performing a single-user installation of Nix...

copying Nix to /nix/store...
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.


installing 'nix-2.3.6'

building '/nix/store/y6jnz3w0q3hwmqhdp6rba2pxx0jvc0a5-user-environment.drv'...

created 6 symlinks in user environment

unpacking channels...

created 1 symlinks in user environment


Installation finished! To ensure that the necessary environment
variables are set, please add the line
. /root/.nix-profile/etc/profile.d/nix.sh
to your shell profile (e.g. ~/.profile).

removing old generations of profile /nix/var/nix/profiles/default

removing old generations of profile /nix/var/nix/profiles/per-user/root/channels

finding garbage collector roots...

deleting garbage...

deleting '/nix/store/rdk8344ikky544zib47jr0fqvc3y7jng-nixpkgs-unstable'

deleting '/nix/store/7dxhzymvy330i28ii676fl1pqwcahv2f-nss-cacert-3.49.2'

deleting '/nix/store/trash'

deleting unused links...

note: currently hard linking saves -0.00 MiB

2 store paths deleted, 0.21 MiB freed
0.22 MiB freed by hard-linking 249 files

reading the Nix store...

checking path existence...
checking hashes...

Removing intermediate container 14308213719e
---> 0632cd95203d
Step 5/6 : ONBUILD ENV ENV=/etc/profile USER=root PATH=/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/bin:/sbin:/usr/bin:/usr/sbin GIT_SSL_CAINFO=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt NIX_SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt
---> Running in c19f129e93d7
Removing intermediate container c19f129e93d7
---> e749a1cfa211
Step 6/6 : ENV ENV=/etc/profile USER=root PATH=/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/bin:/sbin:/usr/bin:/usr/sbin GIT_SSL_CAINFO=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt NIX_SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt NIX_PATH=/nix/var/nix/profiles/per-user/root/channels
---> Running in 69a9a9c42a4e
Removing intermediate container 69a9a9c42a4e
---> 654cedee2ea4
Successfully built 654cedee2ea4
Successfully tagged nixos/nix:2.3.6
Pushing index.docker.io/nixos/nix:2.3.6...
Done!
Build finished
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment