Commit Graph

15 Commits (954a9ef5c666b7407d074ddabffc23769f585bc4)

Author SHA1 Message Date
Paul Spooren d0c534805d Dockerfile: switch to v21 aka debian:11
We switches to Debian 12 to early, causing incompatible SDK versions.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-11-05 20:33:40 +01:00
Paul Spooren 9b55784b18 BREAKING: use setup.sh instead of Dockerfile
Instead of causing infinite amounts of traffic per day, only ship a
preconfigured setup.sh file with SNAPSHOT containers and ask the
downstream user to run `setup.sh` on their own.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-11-05 12:48:08 +01:00
Moeta Yuko ad118a4b0e update base image to buildworker 3.11.8
Fixes https://github.com/openwrt/gh-action-sdk/issues/43
2024-11-03 18:52:32 +01:00
Paul Spooren 017ab6488d Support new zstd compressed archives
ImageBuilder and SDK compression switched to zstd due to the recent XZ
backdoor event and overall complexity of the XZ design.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-04-15 09:29:37 +02:00
Paul Spooren eba0c3a321 update base image to buildworker 3.11.1
Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-04-15 09:29:37 +02:00
Paul Spooren 755ed45745 Base docker on ghcr.io containers
Signed-off-by: Paul Spooren <mail@aparcar.org>
2023-05-16 08:51:53 +02:00
Paul Spooren 362524ca6d ci: move Dockerfile.unify to Dockerfile
Signed-off-by: Paul Spooren <mail@aparcar.org>
2023-04-21 00:15:52 +02:00
Paul Spooren a633a801af ci: drop GitLab
Signed-off-by: Paul Spooren <mail@aparcar.org>
2023-04-21 00:15:52 +02:00
Paul Spooren 53846dccff use `base` container for SDKs/IBs
This way not every SDK/IB build installs all dependencies via `apt` but
rather pulls in a container.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-03-18 09:54:04 -10:00
Nick Hainke ee86c78500 Dockerfile: install clang
Right now, XDP support for OpenWrt is on the rise. New packages and
xdp loaders are written. However, the current github workflows will
fail to crosscompile kernel xdp programms, since they do not support
clang. Clang is the main tool to cross-compile xdp kernel scripts.

Clang only needs the correct endianess of the target system. This can
just be added by checking in the Makefile

  ifeq ($(CONFIG_BIG_ENDIAN),y)
  BPF_TARGET=bpfeb
  else
  BPF_TARGET=bpfel
  endif

Missing clang support is one of the main reasons I currently not able
to port xdp-tools to OpenWrt. With introduction of 5.10er kernel the
XDP Support is also improved.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-02-19 20:33:28 -10:00
Josef Schlehofer 713696a6a7 Dockerfile: install gcc-multilib on host
This is required for luajit, which is in packages feed.
While it works fine for ARMv8 (tested by using Github Actions: aarch64_cortex-a53) and x84_x64 (tested inside Docker container, it does not work for 32-bits target and because of that we need to install gcc-multilib.

Luajit fails with the following output:
(tested against target: arm_cortex-a9+vfpv3-d16_musl_eabi inside Docker
SDK image)

/usr/include/limits.h:26:10: fatal error: bits/libc-header-start.h: No such file or directory
 #include <bits/libc-header-start.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~

And once gcc-multilib is installed, it works.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-01-01 16:13:48 -10:00
Paul Spooren 7d1ad316b6 Dockerfile: install rsync
Some packages need rsync to be installed on the host.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-09-19 11:12:03 -10:00
Paul Spooren c8beb1bdf8 add sudo/curl to ImageBuilder/SDK
Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-17 13:09:48 -10:00
Zaoqi 9acb62027d Dockerfile: add "rm -rf /var/lib/apt/lists/*" 2019-08-04 21:09:49 +02:00
Paul Spooren 35cefd1f4f refactor: unify sdk and imagebuilder
both setups are similar enough to be unified.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-03 00:37:32 +02:00