Skip to content
Snippets Groups Projects
Commit 10e13487 authored by nimrod's avatar nimrod
Browse files

Change the base image for transmission-rss to Debian.

There's a build error with the Alpine image ('You don't have write
permissions for the /usr/local/bundle directory.'). I took a quick look
but didn't see anything obvious or any open issues for it. It's faster
to just replace the base image and move forward.
parent c181d402
No related branches found
No related tags found
No related merge requests found
Pipeline #1903 passed
FROM ruby:alpine FROM docker.io/library/ruby:3.0-slim
# hadolint ignore=DL3018 # hadolint ignore=DL3018
RUN apk add --update --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
build-essential \
gosu \ gosu \
&& \ && \
apk add --update --no-cache \
build-base \
&& \
gem install \ gem install \
transmission-rss:1.2.0 \ transmission-rss:1.2.0 \
&& \ && \
apk del --rdepends --no-cache build-base && \ DEBIAN_FRONTEND=noninteractive apt-get purge -y --auto-remove \
addgroup -g 1000 transmission-rss && \ build-essential \
adduser -h /var/lib/transmission-rss -G transmission-rss -D -u 1000 transmission-rss && \
useradd --home-dir /var/lib/transmissions-rss \
--create-home \
--uid 1000 \
--user-group \
transmission-rss \
&& \
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/*
COPY --chown=root:root entrypoint /usr/local/sbin/ COPY --chown=root:root entrypoint /usr/local/sbin/
COPY --chown=root:root transmission-rss.conf /etc/ COPY --chown=root:root transmission-rss.conf /etc/
ENTRYPOINT [ "entrypoint" ] ENTRYPOINT [ "entrypoint" ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment