# Alpine Docker documentation needs update

**URL:** <https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679>\
**Category:** Talk about Documentation\
**Created:** [December 17, 2024, 2:18pm UTC](https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679 "2024-12-17T14:18:27Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![egorksv](https://forum.openwrt.org/letter_avatar/egorksv/32/5_5575768a8748004e209b776fc1b2916d.png) [@egorksv](https://forum.openwrt.org/u/egorksv)\
**Post date:** [December 17, 2024, 2:18pm UTC](https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679/1 "2024-12-17T14:18:27Z")

</div>

Hi there,

I was getting this [https://github.com/openwrt/openwrt/issues/13528](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](https://openwrt.org/docs/guide-user/virtualization/obtain.firmware.docker)

I'm talking about "Alpine Container" section.

Cheers

---

<div class="post-metadata">

**Author:** ![anon63541380](https://forum.openwrt.org/letter_avatar/anon63541380/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon63541380](https://forum.openwrt.org/u/anon63541380)\
**Post date:** [December 17, 2024, 2:24pm UTC](https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679/2 "2024-12-17T14:24:19Z")

</div>

Where do you find the things you want to change?

---

<div class="post-metadata">

**Author:** ![egorksv](https://forum.openwrt.org/letter_avatar/egorksv/32/5_5575768a8748004e209b776fc1b2916d.png) [@egorksv](https://forum.openwrt.org/u/egorksv)\
**Post date:** [December 17, 2024, 7:00pm UTC](https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679/3 "2024-12-17T19:00:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![egorksv](https://forum.openwrt.org/letter_avatar/egorksv/32/5_5575768a8748004e209b776fc1b2916d.png) [@egorksv](https://forum.openwrt.org/u/egorksv)\
**Post date:** [December 17, 2024, 7:02pm UTC](https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679/4 "2024-12-17T19:02:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anon63541380](https://forum.openwrt.org/letter_avatar/anon63541380/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon63541380](https://forum.openwrt.org/u/anon63541380)\
**Post date:** [December 17, 2024, 7:03pm UTC](https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679/5 "2024-12-17T19:03:39Z")

</div>

Which of those random links is operated by OpenWRT?

---

<div class="post-metadata">

**Author:** ![egorksv](https://forum.openwrt.org/letter_avatar/egorksv/32/5_5575768a8748004e209b776fc1b2916d.png) [@egorksv](https://forum.openwrt.org/u/egorksv)\
**Post date:** [December 17, 2024, 7:06pm UTC](https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679/6 "2024-12-17T19:06:37Z")

</div>

This one:

[https://openwrt.org/docs/guide-user/virtualization/obtain.firmware.docker](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

---

<div class="post-metadata">

**Author:** ![anon63541380](https://forum.openwrt.org/letter_avatar/anon63541380/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon63541380](https://forum.openwrt.org/u/anon63541380)\
**Post date:** [December 17, 2024, 7:14pm UTC](https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679/7 "2024-12-17T19:14:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![egorksv](https://forum.openwrt.org/letter_avatar/egorksv/32/5_5575768a8748004e209b776fc1b2916d.png) [@egorksv](https://forum.openwrt.org/u/egorksv)\
**Post date:** [December 17, 2024, 7:22pm UTC](https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679/8 "2024-12-17T19:22:39Z")

</div>

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

![image](https://forum.openwrt.org/uploads/default/original/3X/b/e/be8a3a078083ee8af99cb866a6aafb35c6b52bf0.png)

---

<div class="post-metadata">

**Author:** ![anon63541380](https://forum.openwrt.org/letter_avatar/anon63541380/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon63541380](https://forum.openwrt.org/u/anon63541380)\
**Post date:** [December 17, 2024, 7:38pm UTC](https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679/9 "2024-12-17T19:38:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![egorksv](https://forum.openwrt.org/letter_avatar/egorksv/32/5_5575768a8748004e209b776fc1b2916d.png) [@egorksv](https://forum.openwrt.org/u/egorksv)\
**Post date:** [December 17, 2024, 7:58pm UTC](https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679/10 "2024-12-17T19:58:33Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![anon63541380](https://forum.openwrt.org/letter_avatar/anon63541380/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon63541380](https://forum.openwrt.org/u/anon63541380)\
**Post date:** [December 17, 2024, 8:04pm UTC](https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679/11 "2024-12-17T20:04:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![egorksv](https://forum.openwrt.org/letter_avatar/egorksv/32/5_5575768a8748004e209b776fc1b2916d.png) [@egorksv](https://forum.openwrt.org/u/egorksv)\
**Post date:** [December 17, 2024, 8:40pm UTC](https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679/12 "2024-12-17T20:40:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![egorksv](https://forum.openwrt.org/letter_avatar/egorksv/32/5_5575768a8748004e209b776fc1b2916d.png) [@egorksv](https://forum.openwrt.org/u/egorksv)\
**Post date:** [December 18, 2024, 12:30am UTC](https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679/13 "2024-12-18T00:30:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anon63541380](https://forum.openwrt.org/letter_avatar/anon63541380/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon63541380](https://forum.openwrt.org/u/anon63541380)\
**Post date:** [December 18, 2024, 8:12am UTC](https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679/14 "2024-12-18T08:12:14Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![egorksv](https://forum.openwrt.org/letter_avatar/egorksv/32/5_5575768a8748004e209b776fc1b2916d.png) [@egorksv](https://forum.openwrt.org/u/egorksv)\
**Post date:** [December 21, 2024, 4:57pm UTC](https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679/15 "2024-12-21T16:57:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anon63541380](https://forum.openwrt.org/letter_avatar/anon63541380/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon63541380](https://forum.openwrt.org/u/anon63541380)\
**Post date:** [December 21, 2024, 5:53pm UTC](https://forum.openwrt.org/t/alpine-docker-documentation-needs-update/218679/16 "2024-12-21T17:53:35Z")

</div>

Alpine or python ran their horses faster this year.
