4
0

Compare commits

..

6 Commits

Author SHA1 Message Date
60eab030af upload to docker hub
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-31 23:24:07 +01:00
aae6ef8be3 Update 'Dockerfile'
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-09 16:29:13 +02:00
d173488fef default to new alpine
Some checks failed
continuous-integration/drone/push Build is failing
2021-07-09 16:10:24 +02:00
06d7e7e62e add sudo package
Some checks failed
continuous-integration/drone/push Build is failing
2021-07-09 15:27:17 +02:00
5e5c64c922 update alpine and uboot versions
Some checks failed
continuous-integration/drone/push Build is failing
2021-07-09 14:34:34 +02:00
2097ffef8b add drone config
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-09 14:31:06 +02:00
3 changed files with 41 additions and 5 deletions

36
.drone.yml Normal file
View File

@ -0,0 +1,36 @@
kind: pipeline
type: docker
name: default
steps:
- name: kaniko
image: banzaicloud/drone-kaniko
settings:
registry: registry.kmlabz.com
repo: birbnetes/${DRONE_REPO_NAME}
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
tags:
- latest
- ${DRONE_BUILD_NUMBER}
- name: dockerhub
image: plugins/docker
settings:
repo: birbnetes/${DRONE_REPO_NAME}
username:
from_secret: DOCKERHUB_USER
password:
from_secret: DOCKERHUB_PASSWORD
tags:
- latest
- ${DRONE_BUILD_NUMBER}
- name: ms-teams
image: kuperiu/drone-teams
settings:
webhook:
from_secret: TEAMS_WEBHOOK
when:
status: [ failure ]

View File

@ -10,7 +10,7 @@ RUN mkdir /uboot_build/ && \
WORKDIR /uboot_build/
ENV UBOOT_VERSION=2020.01
ENV UBOOT_VERSION=2021.07
RUN wget http://ftp.denx.de/pub/u-boot/u-boot-${UBOOT_VERSION}.tar.bz2 && \
tar -xjf u-boot-${UBOOT_VERSION}.tar.bz2
@ -54,10 +54,10 @@ ADD ./resources/uboot.c /uboot.c
RUN arm-linux-gnueabi-gcc -Wall -static -static-libgcc -o /uboot_tool /uboot.c
FROM alpine:3.11
FROM alpine:3.14
RUN apk update && \
apk add automake build-base git autoconf confuse-dev linux-headers \
apk add automake build-base git autoconf confuse-dev linux-headers sudo \
findutils mtools e2fsprogs-extra alpine-sdk dosfstools uboot-tools && \
rm -rf /var/cache/apk/*
@ -73,7 +73,7 @@ RUN git clone https://github.com/pengutronix/genimage.git /tmp/genimage && \
ADD ./resources/genext2fs /genext2fs
RUN cd /genext2fs && \
abuild-keygen -a -i -q && \
echo | abuild-keygen -a -i -q && \
abuild -F -P /tmp/pkg && \
apk add /tmp/pkg/x86_64/genext2fs-1*.apk && \
rm -rf /tmp/pkg/

View File

@ -4,7 +4,7 @@ set -e
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# User config
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
: ${ALPINE_BRANCH:="v3.11"}
: ${ALPINE_BRANCH:="v3.14"}
: ${ALPINE_MIRROR:="http://dl-cdn.alpinelinux.org/alpine"}
: ${DEFAULT_TIMEZONE:="Etc/UTC"}