Created
August 14, 2023 13:27
-
-
Save rooty/f6f46e644ef17b306ca0d5164a41e8f4 to your computer and use it in GitHub Desktop.
This file contains 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:22.04 | |
RUN apt update |
This file contains 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
docker build --no-cache -t myimage -f Dockerfile . | |
Sending build context to Docker daemon 9.216kB | |
Step 1/2 : FROM ubuntu:22.04 | |
---> 5a81c4b8502e | |
Step 2/2 : RUN apt update | |
---> Running in a559b6ed31a7 | |
WARNING: apt does not have a stable CLI interface. Use with caution in scripts. | |
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] | |
Get:2 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB] | |
Get:3 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [44.0 kB] | |
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB] | |
Get:5 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [857 kB] | |
Get:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB] | |
Get:7 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB] | |
Get:8 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [979 kB] | |
Get:9 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB] | |
Get:10 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [832 kB] | |
Get:11 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB] | |
Get:12 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB] | |
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [49.8 kB] | |
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1127 kB] | |
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1236 kB] | |
Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [918 kB] | |
Get:17 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [25.6 kB] | |
Get:18 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [49.2 kB] | |
Fetched 26.4 MB in 3s (9873 kB/s) | |
Reading package lists... | |
E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true' | |
E: Sub-process returned an error code | |
The command '/bin/sh -c apt update' returned a non-zero code: 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment