commit 50b9c713d96ccc8ce7aa6fc8f20e1d3c9b0af7bf Author: Lauri Võsandi Date: Wed Apr 6 15:59:34 2022 +0300 Initial commit diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..5c8e1c8 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,17 @@ +--- +kind: pipeline +type: kubernetes +name: default + +steps: +- name: docker + image: plugins/docker + settings: + repo: harbor.k-space.ee/${DRONE_REPO} + registry: harbor.k-space.ee + mtu: 1300 + username: + from_secret: docker_username + password: + from_secret: docker_password + squash: true diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c36ef99 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM ubuntu +RUN apt-get update \ + && apt-get install -yq wget build-essential file cpio rsync bc unzip python3 +WORKDIR / +RUN wget https://github.com/buildroot/buildroot/archive/2022.02.tar.gz \ + && tar xf *.gz \ + && rm -fv *.gz \ + && mv -fv buildroot-* build +WORKDIR /build +ADD config-seed .config +RUN make olddefconfig \ + && make toolchain diff --git a/config-seed b/config-seed new file mode 100644 index 0000000..b53c95a --- /dev/null +++ b/config-seed @@ -0,0 +1,3 @@ +BR2_x86_64=y +BR2_INIT_NONE=y +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y