Alpine Docker documentation needs update

Hi there,

I was getting this https://github.com/openwrt/openwrt/issues/13528 whilst following Docker documentation. Since Alpine is now on python-3.12, py3-setuptools has to be added to the list of apk add section of alpine dockerfile.

upd: forgot actual documentation link and am feeling incredibly stupid:
https://openwrt.org/docs/guide-user/virtualization/obtain.firmware.docker

I'm talking about "Alpine Container" section.

Cheers

Where do you find the things you want to change?

Another issue
This affects the build: https://gitlab.torproject.org/tpo/core/arti/-/issues/1335
Alpine version should be fixed to 3.18:
FROM docker.io/alpine:3.18

My apologies, somehow did not include the link to doc page, updated the post now.

Which of those random links is operated by OpenWRT?

This one:

https://openwrt.org/docs/guide-user/virtualization/obtain.firmware.docker

I'm referring to Alpine-container Dockerfile which needs to be updated.
"Random links" are to highlight the specific issues I'm experiencing while building OpenWRT v23.05.5

For each release one needs some contemporary build host , like 3.17 for 23.05
Does alpine latest build openwrt snapshot?

Nope, and the current documentation is showing "alpine:latest" as the base image:

image

It is moving target, probably a paragraph telling to check for alpine of the old days can help?

Probably document which Alpine version can build respective OpenWRT, same with Debian?

I'm completely new to OpenWRT, and as an experienced Linux/Docker "power user" have had too much trouble getting this built.
Would also help to specify whether arm64 is supported as a build platform, or it HAS to be x86_64. I have assumed it has, but apparently am dealing with QEMU issue (still need to troubleshoot that) killing build process.

1 Like

Openwrt release is yy.mm when it was branched off deverlopment branch. Current alpine and debian of the time do work. They have their own histories in web pages.
But then you dropndocumentation to "press a key with A on it to get A symbol to rthe erminal

None of this is documented properly along the 'how to build openwrt on m1 mac with docker' route.
And no, properly declaring required dependency versions has nothing to do with "press a key" nonsense

Another note: Docker Desktop on Mac needs at least 8GB RAM allocated, otherwise openwrt build process gets killed with OutOfMemoryError

I think you are supposed to assign sufficient resources to compilation, 1GB per CPU sounds about reasonable.

Still a note about using older container OS for older OpenWRT may need to be added to docker files.

"OLDER"?! 23.5.5 is the latest release firmware, wym "older"?

Alpine or python ran their horses faster this year.