commit 8364a04e270a77d78d5fdbc89d72e05dd074f039 Author: Nils Stinnesbeck Date: Fri May 19 17:04:15 2023 +0200 added Dockerfile and CI file diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..3e8e44f --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,12 @@ +pipeline: + dockerfile: + image: woodpeckerci/plugin-docker-buildx + settings: + platforms: linux/amd64 + repo: git.freifunk-rhein-sieg.net/Freifunk-Troisdorf/docker-gluon-build + registry: https://git.freifunk-rhein-sieg.net + tags: latest + auto_tag: true + username: api_user + password: + from_secret: gitpw diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a241906 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,36 @@ +FROM debian:bullseye-slim + +ARG DEBIAN_FRONTEND=noninteractive +RUN apt-get update && apt-get install -y --no-install-recommends \ + ca-certificates \ + file \ + git \ + python3 \ + build-essential \ + gawk \ + unzip \ + libncurses5-dev \ + zlib1g-dev \ + libssl-dev \ + libelf-dev \ + wget \ + rsync \ + time \ + qemu-utils \ + ecdsautils \ + lua-check \ + shellcheck \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + +RUN mkdir /tmp/ec &&\ + wget -O /tmp/ec/ec-linux-amd64.tar.gz https://github.com/editorconfig-checker/editorconfig-checker/releases/download/2.7.0/ec-linux-amd64.tar.gz &&\ + tar -xvzf /tmp/ec/ec-linux-amd64.tar.gz &&\ + mv bin/ec-linux-amd64 /usr/local/bin/editorconfig-checker &&\ + rm -rf /tmp/ec + +RUN useradd -d /gluon gluon +USER gluon + +VOLUME /gluon +WORKDIR /gluon