Skip to content

Replace Debian Buster (Deprecated) in Container2Wasm Default Dockerfile with Bullseye #492

@shiftyp

Description

@shiftyp

Running with the default dockerfile I get the following error

 > [bochs-dev-common  2/25] RUN apt-get update -y && apt-get install -y make curl git gcc xz-utils:
6.385 Err:4 http://deb.debian.org/debian buster Release
6.386   404  Not Found [IP: 146.75.30.132 80]
6.390 Err:5 http://deb.debian.org/debian-security buster/updates Release
6.390   404  Not Found [IP: 146.75.30.132 80]
6.392 Err:6 http://deb.debian.org/debian buster-updates Release
6.392   404  Not Found [IP: 146.75.30.132 80]
6.492 Reading package lists...
6.545 E: The repository 'http://deb.debian.org/debian buster Release' does not have a Release file.
6.545 E: The repository 'http://deb.debian.org/debian-security buster/updates Release' does not have a Release file.
6.545 E: The repository 'http://deb.debian.org/debian buster-updates Release' does not have a Release file.

Modifying the default dockerfile using bullseye debian in place of buster where appropriate fixes the issue

c2w --show-dockerfile > ./Dockerfile.c2w
sed -i 's/buster/bullseye/g' ./Dockerfile.c2w
c2w --dockerfile ./Dockerfile.c2w $IMAGE $DESTINATION

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions