Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora 37 as base fails on dnf update. #107

Open
PiotrJustyna opened this issue Jan 25, 2023 · 0 comments
Open

Fedora 37 as base fails on dnf update. #107

PiotrJustyna opened this issue Jan 25, 2023 · 0 comments

Comments

@PiotrJustyna
Copy link

I can successfully install packages through dnf, but dnf update itself fails. I use this base image for my devcontainers.

This command specifically fails:

dnf -y update

The update fails with errors like:

#0 5.365   - Zchunk header checksum didn't match expected checksum
#0 5.365   - Curl error (60): SSL peer certificate or SSH remote key was not OK for https://mirror.karneval.cz/pub/linux/fedora/linux/development/37/Everything/aarch64/os/repodata/afd77c1ad4596f5f8c554ce8427fee101f25ed9c976e43f9dd81cd6570211472-comps-Everything.aarch64.xml [SSL certificate problem: unable to get local issuer certificate]

I am using a 2021 macbook pro, apple m1 chip if that helps.

dockerfile

FROM fedora:37

ENV LANG C.UTF-8

ARG USERNAME=vscode
ARG USER_UID=1000
ARG USER_GID=$USER_UID

RUN dnf -y update \
    && dnf -y install \
    git \
    numactl-libs \
    gcc \
    gcc-c++ \
    gmp \
    gmp-devel \
    make \
    ncurses \
    ncurses-compat-libs \
    xz \
    perl \
    awscli

ENV TZ=Europe/Dublin
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN groupadd --gid $USER_GID $USERNAME
RUN useradd -s /bin/bash --uid $USER_UID --gid $USERNAME -m $USERNAME

USER $USERNAME

ENV GHC_VERSION="recommended"
ENV GHCUP_CURL_OPTS="-k"
ENV BOOTSTRAP_HASKELL_NONINTERACTIVE="1"
ENV BOOTSTRAP_HASKELL_GHC_VERSION="$GHC_VERSION"
ENV BOOTSTRAP_HASKELL_CABAL_VERSION="recommended"

RUN curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh

ENV PATH="/workspaces/osmium:/home/$USERNAME/.cabal/bin:/home/$USERNAME/.ghcup/bin:$PATH"

vscode output

[2023-01-25T09:37:13.445Z] Dev Containers 0.266.1 in VS Code 1.74.3 (97dec172d3256f8ca4bfb2143f3f76b503ca0534).
[2023-01-25T09:37:13.445Z] Start: Resolving Remote
[2023-01-25T09:37:13.454Z] Setting up container for folder or workspace: /Users/piotrjustyna/Documents/code/osmium
[2023-01-25T09:37:13.454Z] Context: desktop-linux
[2023-01-25T09:37:13.464Z] Start: Check Docker is running
[2023-01-25T09:37:13.464Z] Start: Run: docker version --format {{.Server.APIVersion}}
[2023-01-25T09:37:13.526Z] Stop (62 ms): Run: docker version --format {{.Server.APIVersion}}
[2023-01-25T09:37:13.526Z] Server API version: 1.41
[2023-01-25T09:37:13.526Z] Stop (62 ms): Check Docker is running
[2023-01-25T09:37:13.527Z] Start: Run: docker volume ls -q
[2023-01-25T09:37:13.581Z] Stop (54 ms): Run: docker volume ls -q
[2023-01-25T09:37:13.610Z] Start: Run: docker ps -q -a --filter label=vsch.local.folder=/Users/piotrjustyna/Documents/code/osmium --filter label=vsch.quality=stable
[2023-01-25T09:37:13.688Z] Stop (78 ms): Run: docker ps -q -a --filter label=vsch.local.folder=/Users/piotrjustyna/Documents/code/osmium --filter label=vsch.quality=stable
[2023-01-25T09:37:13.689Z] Start: Run: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.266.1/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/piotrjustyna/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --workspace-folder /Users/piotrjustyna/Documents/code/osmium --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/piotrjustyna/Documents/code/osmium --log-level info --log-format json --config /Users/piotrjustyna/Documents/code/osmium/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --build-no-cache --remove-existing-container --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2023-01-25T09:37:13.848Z] (node:77143) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[2023-01-25T09:37:13.848Z] (Use `Code Helper --trace-deprecation ...` to show where the warning was created)
[2023-01-25T09:37:13.849Z] @devcontainers/cli 0.25.2. Node.js v16.14.2. darwin 21.6.0 arm64.
[2023-01-25T09:37:13.849Z] Start: Run: docker buildx version
[2023-01-25T09:37:13.974Z] Stop (125 ms): Run: docker buildx version
[2023-01-25T09:37:13.974Z] github.com/docker/buildx v0.10.0 876462897612d36679153c3414f7689626251501
[2023-01-25T09:37:13.974Z] 
[2023-01-25T09:37:13.974Z] Start: Resolving Remote
[2023-01-25T09:37:13.976Z] Start: Run: git rev-parse --show-cdup
[2023-01-25T09:37:13.999Z] Stop (23 ms): Run: git rev-parse --show-cdup
[2023-01-25T09:37:13.999Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/piotrjustyna/Documents/code/osmium
[2023-01-25T09:37:14.064Z] Stop (65 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/piotrjustyna/Documents/code/osmium
[2023-01-25T09:37:14.066Z] Start: Run: docker inspect --type image fedora:37
[2023-01-25T09:37:14.129Z] Stop (63 ms): Run: docker inspect --type image fedora:37
[2023-01-25T09:37:15.411Z] local container features stored at: /Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.266.1/dist/node_modules/vscode-dev-containers/container-features
[2023-01-25T09:37:15.415Z] Start: Run: tar --no-same-owner -x -f -
[2023-01-25T09:37:15.441Z] Stop (26 ms): Run: tar --no-same-owner -x -f -
[2023-01-25T09:37:15.442Z] Start: Run: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /var/folders/7n/brvdl9m17dd2v2j6xk495z3c0000gq/T/devcontainercli/container-features/0.25.2-1674639435410/Dockerfile-with-features -t vsc-osmium-c6c506da1eb0deff7d35df107f90535e --target dev_containers_target_stage --no-cache --pull --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label /Users/piotrjustyna/Documents/code/osmium/.devcontainer
[2023-01-25T09:37:15.758Z] [+] Building 0.0s (0/0)                                                         
[2023-01-25T09:37:15.908Z] [+] Building 0.0s (0/0)                                                         
[2023-01-25T09:37:16.012Z] [+] Building 0.1s (2/3)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.0s
[2023-01-25T09:37:16.163Z] [+] Building 0.2s (2/3)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.2s
[2023-01-25T09:37:16.314Z] [+] Building 0.4s (2/3)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.3s
[2023-01-25T09:37:16.465Z] [+] Building 0.5s (2/3)                                                         
[2023-01-25T09:37:16.465Z]  => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.5s
[2023-01-25T09:37:16.606Z] [+] Building 0.7s (3/3)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
[2023-01-25T09:37:16.757Z] [+] Building 0.8s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
[2023-01-25T09:37:16.757Z]  => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  0.1s
[2023-01-25T09:37:16.909Z] [+] Building 1.0s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  0.3s
[2023-01-25T09:37:17.059Z] [+] Building 1.1s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  0.4s
[2023-01-25T09:37:17.210Z] [+] Building 1.3s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
[2023-01-25T09:37:17.210Z]  => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  0.6s
[2023-01-25T09:37:17.361Z] [+] Building 1.4s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  0.7s
[2023-01-25T09:37:17.512Z] [+] Building 1.6s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  0.9s
[2023-01-25T09:37:17.663Z] [+] Building 1.7s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
[2023-01-25T09:37:17.663Z]  => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  1.0s
[2023-01-25T09:37:17.814Z] [+] Building 1.9s (4/9)                                                         
[2023-01-25T09:37:17.814Z]  => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  1.2s
[2023-01-25T09:37:17.965Z] [+] Building 2.0s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  1.4s
[2023-01-25T09:37:18.115Z] [+] Building 2.2s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  1.5s
[2023-01-25T09:37:18.116Z] 
[2023-01-25T09:37:18.266Z] [+] Building 2.3s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
[2023-01-25T09:37:18.266Z]  => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  1.7s
[2023-01-25T09:37:18.417Z] [+] Building 2.5s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  1.8s
[2023-01-25T09:37:18.567Z] [+] Building 2.6s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
[2023-01-25T09:37:18.568Z]  => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  2.0s
[2023-01-25T09:37:18.719Z] [+] Building 2.8s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  2.1s
[2023-01-25T09:37:18.877Z] [+] Building 2.9s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  2.3s
[2023-01-25T09:37:19.028Z] [+] Building 3.1s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  2.4s
[2023-01-25T09:37:19.181Z] [+] Building 3.2s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  2.6s
[2023-01-25T09:37:19.332Z] [+] Building 3.4s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
[2023-01-25T09:37:19.332Z]  => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  2.7s
[2023-01-25T09:37:19.482Z] [+] Building 3.5s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
[2023-01-25T09:37:19.482Z]  => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  2.9s
[2023-01-25T09:37:19.633Z] [+] Building 3.7s (4/9)                                                         
[2023-01-25T09:37:19.633Z]  => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  3.0s
[2023-01-25T09:37:19.785Z] [+] Building 3.8s (4/9)                                                         
[2023-01-25T09:37:19.786Z]  => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  3.2s
[2023-01-25T09:37:19.934Z] [+] Building 4.0s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  3.3s
[2023-01-25T09:37:20.085Z] [+] Building 4.1s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
[2023-01-25T09:37:20.085Z]  => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  3.5s
[2023-01-25T09:37:20.237Z] [+] Building 4.3s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  3.6s
[2023-01-25T09:37:20.387Z] [+] Building 4.4s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
[2023-01-25T09:37:20.387Z]  => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  3.8s
[2023-01-25T09:37:20.538Z] [+] Building 4.6s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
[2023-01-25T09:37:20.538Z]  => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  3.9s
[2023-01-25T09:37:20.689Z] [+] Building 4.7s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
[2023-01-25T09:37:20.690Z]  => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  4.1s
[2023-01-25T09:37:20.841Z] [+] Building 4.9s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  4.2s
[2023-01-25T09:37:20.992Z] [+] Building 5.1s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
[2023-01-25T09:37:20.992Z]  => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  4.4s
[2023-01-25T09:37:21.144Z] [+] Building 5.2s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  4.5s
[2023-01-25T09:37:21.295Z] [+] Building 5.4s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
[2023-01-25T09:37:21.296Z]  => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  4.7s
[2023-01-25T09:37:21.445Z] [+] Building 5.5s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
[2023-01-25T09:37:21.447Z]  => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  4.8s
[2023-01-25T09:37:21.596Z] [+] Building 5.7s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
[2023-01-25T09:37:21.596Z]  => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  5.0s
[2023-01-25T09:37:21.747Z] [+] Building 5.8s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  5.1s
[2023-01-25T09:37:21.899Z] [+] Building 6.0s (4/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && d  5.3s
[2023-01-25T09:37:22.033Z] [+] Building 6.1s (5/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => ERROR [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     5.4s
[2023-01-25T09:37:22.033Z] [+] Building 6.1s (5/9)                                                         
 => [internal] load build definition from Dockerfile-with-features         0.0s
 => => transferring dockerfile: 1.55kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/fedora:37               0.6s
 => CACHED [dev_container_auto_added_stage_label 1/6] FROM docker.io/libr  0.0s
 => ERROR [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     5.4s
------
 > [dev_container_auto_added_stage_label 2/6] RUN dnf -y update     && dnf -y install     git     numactl-libs     gcc     gcc-c++     gmp     gmp-devel     make     ncurses     ncurses-compat-libs     xz     perl     awscli:
#0 5.364 Fedora 37 - aa
[2023-01-25T09:37:22.033Z] rch64                             349 kB/s | 1.7 MB     00:05    
#0 5.365 Errors during downloading metadata for repository 'fedora':
#0 5.365   - Curl error (60): SSL peer certificate or SSH remote key was not OK for https://mirror.23m.com/fedora/linux/development/37/Everything/aarch64/os/repodata/afd77c1ad4596f5f8c554ce8427fee101f25ed9c976e43f9dd81cd6570211472-comps-Everything.aarch64.xml [SSL certificate problem: unable to get local issuer certificate]
#0 5.365   - Downloading successful, but checksum doesn't match. Calculated: d1804b2ce76776b122a63ef5b7418644be17b74791dc891c01c429acfc7771a3ff68356822ae4d9395e8fab9b8211de7796e23b1245354231187f9c6bdaa4c9c(sha512)  Expected: 3afc7e99c58b1283da2cece6ea1b36c6e97c09d81abad937cb3f2d0b2bc98106e035907fcff330dda8dc9e4b39f2a97444e31eec5ae1861684f3ebc888d37303(sha512) 
#0 5.365   - Downloading successful, but checksum doesn't match. Calculated: 8208e19b47cb5cce42bcd676fd9513f30d62463b954539148b1eb9b61d29e634(sha256)  Expected: afd77c1ad4596f5f8c554ce8427fee101f2
[2023-01-25T09:37:22.033Z] 5ed9c976e43f9dd81cd6570211472(sha256) 
[2023-01-25T09:37:22.033Z] 
#0 5.365   - Zchunk header checksum didn't match expected checksum
#0 5.365   - Curl error (60): SSL peer certificate or SSH remote key was not OK for https://mirror.karneval.cz/pub/linux/fedora/linux/development/37/Everything/aarch64/os/repodata/afd77c1ad4596f5f8c554ce8427fee101f25ed9c976e43f9dd81cd6570211472-comps-Everything.aarch64.xml [SSL certificate problem: unable to get local issuer certificate]
#0 5.365   - Curl error (60): SSL peer certificate or SSH remote key was not OK for https://mirror.karneval.cz/pub/linux/fedora/linux/development/37/Everything/aarch64/os/repodata/repomd.xml [SSL certificate problem: unable to get local issuer certificate]
#0 5.365   - Curl error (60): SSL peer certificate or SSH remote key was not OK for https://mirror.23m.com/fedora/linux/development/37/Everything/aarch64/os/repodata/repomd.xml [SSL certificate problem: unable to get local issuer certificate]
#0 5.370 Error: Failed to download metadata for repo 'fedora': Checksum error /var/cache/dnf/fedora-ffccd1530c1
[2023-01-25T09:37:22.033Z] 037e4/repodata/e9b5b829c1499f2b958dfdd4aa9c2fff08c6a758e3e841f87adf9c5ae6a34006-primary.xml.zck: Unable to read zchunk lead
------
ERROR: failed to solve: executor failed running [/bin/sh -c dnf -y update     && dnf -y install     git     numactl-libs     gcc     gcc-c++     gmp     gmp-devel     make     ncurses     ncurses-compat-libs     xz     perl     awscli]: exit code: 1
[2023-01-25T09:37:22.041Z] Stop (6599 ms): Run: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /var/folders/7n/brvdl9m17dd2v2j6xk495z3c0000gq/T/devcontainercli/container-features/0.25.2-1674639435410/Dockerfile-with-features -t vsc-osmium-c6c506da1eb0deff7d35df107f90535e --target dev_containers_target_stage --no-cache --pull --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label /Users/piotrjustyna/Documents/code/osmium/.devcontainer
[2023-01-25T09:37:22.041Z] Error: Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /var/folders/7n/brvdl9m17dd2v2j6xk495z3c0000gq/T/devcontainercli/container-features/0.25.2-1674639435410/Dockerfile-with-features -t vsc-osmium-c6c506da1eb0deff7d35df107f90535e --target dev_containers_target_stage --no-cache --pull --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label /Users/piotrjustyna/Documents/code/osmium/.devcontainer
[2023-01-25T09:37:22.041Z]     at Doe (/Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.266.1/dist/spec-node/devContainersSpecCLI.js:1894:1669)
[2023-01-25T09:37:22.041Z]     at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[2023-01-25T09:37:22.041Z]     at async EF (/Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.266.1/dist/spec-node/devContainersSpecCLI.js:1893:1978)
[2023-01-25T09:37:22.041Z]     at async uT (/Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.266.1/dist/spec-node/devContainersSpecCLI.js:1893:901)
[2023-01-25T09:37:22.041Z]     at async Poe (/Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.266.1/dist/spec-node/devContainersSpecCLI.js:1899:2128)
[2023-01-25T09:37:22.041Z]     at async Zf (/Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.266.1/dist/spec-node/devContainersSpecCLI.js:1899:3278)
[2023-01-25T09:37:22.041Z]     at async aue (/Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.266.1/dist/spec-node/devContainersSpecCLI.js:2020:15276)
[2023-01-25T09:37:22.041Z]     at async oue (/Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.266.1/dist/spec-node/devContainersSpecCLI.js:2020:15030)
[2023-01-25T09:37:22.043Z] Stop (8354 ms): Run: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.266.1/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/piotrjustyna/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --workspace-folder /Users/piotrjustyna/Documents/code/osmium --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/piotrjustyna/Documents/code/osmium --log-level info --log-format json --config /Users/piotrjustyna/Documents/code/osmium/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --build-no-cache --remove-existing-container --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2023-01-25T09:37:22.043Z] Exit code 1
[2023-01-25T09:37:22.045Z] Command failed: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Users/piotrjustyna/.vscode/extensions/ms-vscode-remote.remote-containers-0.266.1/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/piotrjustyna/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --workspace-folder /Users/piotrjustyna/Documents/code/osmium --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/piotrjustyna/Documents/code/osmium --log-level info --log-format json --config /Users/piotrjustyna/Documents/code/osmium/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --build-no-cache --remove-existing-container --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2023-01-25T09:37:22.045Z] Exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant