add woodpecker ci script
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
2024-02-18 19:09:31 +01:00
parent 0d9be34bc7
commit 6ba4dd2cc2
4 changed files with 26 additions and 53 deletions

View File

@ -1,37 +1,14 @@
FROM ubuntu:focal
FROM ubuntu:24.04
LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>"
LABEL ImageName="registry.hottis.de/dockerized/build-env-msp430"
LABEL AlternativeImageName="wollud1969/build-env-msp430"
LABEL ImageName="gitea.hottis.de/wn/build-env-msp430"
ARG RELEASETOOL_URL="https://home.hottis.de/gitlab/wolutator/gitlabreleaseuploader/uploads/25ef4a3247a99a0dbaf6507dd9cba36e/GitlabReleaseTool.zip"
RUN \
apt update && \
apt install -y make && \
apt install -y openssh-client && \
apt install -y git && \
apt install -y python-is-python3 && \
apt install -y python3-requests && \
apt install -y python3-pycodestyle && \
apt install -y python3-yaml && \
apt install -y gpg && \
apt install -y apt-transport-https && \
apt install -y wget && \
apt install -y curl && \
apt install -y unzip && \
apt install -y zip && \
env DEBIAN_FRONTEND=noninteractive apt install -y vim-nox && \
apt install -y msp430-libc && \
apt install -y binutils-msp430 && \
apt install -y gcc-msp430 && \
cd /tmp && \
wget $RELEASETOOL_URL && \
unzip GitlabReleaseTool.zip && \
chmod 755 gitlabreleaseuploader.py && \
chmod 755 deleterelease.py && \
mv gitlabreleaseuploader.py /usr/bin && \
mv deleterelease.py /usr/bin
apt install -y gcc-msp430