# Docker ipk-builder

**URL:** <https://www.wago.community/t/docker-ipk-builder/715>\
**Category:** Hardware and Linux\
**Tags:** how-to\
**Created:** [December 4, 2023, 11:24am UTC](https://www.wago.community/t/docker-ipk-builder/715 "2023-12-04T11:24:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![WagoGrim](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagogrim/32/60_2.png) [@WagoGrim](https://www.wago.community/u/WagoGrim)\
**Post date:** [December 4, 2023, 11:24am UTC](https://www.wago.community/t/docker-ipk-builder/715/1 "2023-12-04T11:24:08Z")

</div>

There is more than one way to create an ipk-file but want to remind you of our docker ipk-builder.

[https://hub.docker.com/r/wagoautomation/ipk-builder](https://hub.docker.com/r/wagoautomation/ipk-builder)

**Very Quickstart:**

1. Create two folders and give them a name e.g. “source” and “destination”.

2. Inside the “source” folder create a new folder named “data” and “control”.

3. Copy your sourcefiles to “source/data” folder.

4. Inside the “control” folder create a file called “control”.

5. In the “source” folder create a file named “debian-binary” with the content “2.0”.

6. Update your paths in the docker run command and execute, then find the .ipk in the “destination” folder.

7. Install in WBM → software uploads (or by SSH → “opkg” command).

---

<div class="post-metadata">

**Author:** ![espenbo](https://avatars.discourse-cdn.com/v4/letter/e/c57346/32.png) [@espenbo](https://www.wago.community/u/espenbo)\
**Post date:** [April 10, 2024, 8:37pm UTC](https://www.wago.community/t/docker-ipk-builder/715/2 "2024-04-10T20:37:14Z")

</div>

Could it been possible to get all the ipk files on a server. Where they could have been maintained and easy to obtain?

Maybe the community would like to support a server.

From cc100

```auto
#
# /etc/opkg/opkg.conf
#

# src: <url-of-opkg-repository>
src ptxdist http://www.example.org/ptxdist/CTL/dists/CTLCTL-trunk

dest root /
option lock_file /run/lock/opkg.lock

# move away the ipkg database from the default "/var/lib/opkg" to a r/o location
option lists_dir /usr/share/opkg/lists
option status_file /usr/share/opkg/status
option info_dir /usr/share/opkg/info

arch armhf 10
arch all 1
arch noarch 1

#option check_signature 0
#option signature_ca_path /etc/ssl/certs
#option signature_ca_file /etc/ssl/certs/opkg.crt

```

OpenWrt has been using it for quite some time  
[https://openwrt.org/docs/guide-user/additional-software/opkg](https://openwrt.org/docs/guide-user/additional-software/opkg)
