Initial commit

master
Lauri Võsandi 10 months ago committed by Lauri Võsandi
commit 50b9c713d9
  1. 17
      .drone.yml
  2. 12
      Dockerfile
  3. 3
      config-seed

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

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

@ -0,0 +1,3 @@
BR2_x86_64=y
BR2_INIT_NONE=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
Loading…
Cancel
Save