From 811f1492d0defefc3d87795b7b66b358fef87afe Mon Sep 17 00:00:00 2001 From: dadevel Date: Fri, 17 May 2024 12:10:14 +0200 Subject: [PATCH] finally drop mono --- .github/workflows/ci.yaml | 27 +-------------------------- mono/Dockerfile | 27 --------------------------- mono/dev.Dockerfile | 10 ---------- 3 files changed, 1 insertion(+), 63 deletions(-) delete mode 100644 mono/Dockerfile delete mode 100644 mono/dev.Dockerfile diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6335c34..bf062f8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -166,30 +166,6 @@ jobs: run: ./build.py image lego/Dockerfile env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - mono: - runs-on: ubuntu-22.04 - needs: [] - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Build, Test & Push - run: ./build.py image mono/Dockerfile - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - mono-dev: - runs-on: ubuntu-22.04 - needs: [] - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Build, Test & Push - run: ./build.py image mono/dev.Dockerfile - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} nginx: runs-on: ubuntu-22.04 needs: @@ -338,8 +314,7 @@ jobs: sonarr: runs-on: ubuntu-22.04 needs: - - mono - - mono-dev + - debian - node-dev steps: - name: Checkout diff --git a/mono/Dockerfile b/mono/Dockerfile deleted file mode 100644 index 2f82a76..0000000 --- a/mono/Dockerfile +++ /dev/null @@ -1,27 +0,0 @@ -ARG MONO_VERSION=6 -FROM docker.io/library/mono:$MONO_VERSION -ARG PREFIX=/app -ARG PUID=1000 -ARG PGID=1000 -ARG TIMEZONE=UTC -ARG LANGUAGE=en_US -ARG CHARSET=UTF-8 -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update && \ -apt-get install --no-install-recommends -y ca-certificates locales netcat-openbsd tzdata wget && \ -ln -sf /usr/share/zoneinfo/$TIMEZONE /etc/localtime && \ -localedef -i $LANGUAGE -c -f $CHARSET -A /usr/share/locale/locale.alias $LANGUAGE.$CHARSET && \ -groupadd --gid $PGID app && \ -useradd --uid $PUID --gid $PGID --comment '' --home-dir /dev/shm --no-create-home --shell /bin/bash --no-log-init app && \ -mkdir -p $PREFIX/bin $PREFIX/lib $PREFIX/static $PREFIX/config $PREFIX/data && \ -chown -R $PUID:$PGID $PREFIX -ENV PATH=$PREFIX/bin:$PATH \ -LD_LIBRARY_PATH=$PREFIX/lib \ -HOME=/dev/shm \ -XDG_RUNTIME_DIR=/dev/shm \ -TMPDIR=/dev/shm \ -LANG=$LANGUAGE.$CHARSET \ -LANGUAGE=$LANGUAGE \ -CHARSET=$CHARSET \ -TZ=$TIMEZONE -WORKDIR $PREFIX diff --git a/mono/dev.Dockerfile b/mono/dev.Dockerfile deleted file mode 100644 index 6827fa8..0000000 --- a/mono/dev.Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -ARG MONO_VERSION=6 -FROM docker.io/library/mono:$MONO_VERSION -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update && \ -apt-get install --no-install-recommends -y build-essential ca-certificates curl git libcap2-bin && \ -ln -sf /usr/share/zoneinfo/UTC /etc/localtime -ENV LANG=C.UTF-8 \ -CHARSET=UTF-8 \ -TZ=UTC -WORKDIR /build