Initial commit
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Lauri Võsandi 2022-04-06 15:59:34 +03:00 committed by Lauri Võsandi
commit 50b9c713d9
3 changed files with 32 additions and 0 deletions

17
.drone.yml Normal file
View File

@ -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

12
Dockerfile Normal file
View File

@ -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

3
config-seed Normal file
View File

@ -0,0 +1,3 @@
BR2_x86_64=y
BR2_INIT_NONE=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y