rails (sha256:4b7bce77e70580d543458cb725139151e3150773c25e1d15f2cb75f5d2816beb)
Installation
docker pull gitea.nulo.in/sutty/rails@sha256:4b7bce77e70580d543458cb725139151e3150773c25e1d15f2cb75f5d2816beb
sha256:4b7bce77e70580d543458cb725139151e3150773c25e1d15f2cb75f5d2816beb
Image Layers
ADD file:9a4f77dfaba7fd2aa78186e4ef0e7486ad55101cefc1fabbc1b385601bb38920 in / |
CMD ["/bin/sh"] |
ARG ALPINE_VERSION |
MAINTAINER "f <f@sutty.nl>" |
ENV EMAIL=monit@sutty.nl |
ENV EMAIL_FROM=monit@sutty.nl |
ENV MMONIT=mmmonit.athshe.sutty.nl |
ENV CREDENTIALS=mmmonit:mmmonit.athshe.sutty.nl |
ENV LANG=C.UTF-8 |
RUN |1 ALPINE_VERSION=3.17.3 /bin/sh -c echo ${ALPINE_VERSION} | cut -d . -f 1,2 | xargs -I {} echo https://alpine.sutty.nl/alpine/v{}/sutty | tee -a /etc/apk/repositories # buildkit |
RUN |1 ALPINE_VERSION=3.17.3 /bin/sh -c wget https://alpine.sutty.nl/alpine/sutty.pub -O /etc/apk/keys/alpine@sutty.nl-5ea884cd.rsa.pub # buildkit |
RUN |1 ALPINE_VERSION=3.17.3 /bin/sh -c apk add --no-cache tini monit knsupdate # buildkit |
COPY /usr/share/zoneinfo/UTC /etc/localtime # buildkit |
RUN |1 ALPINE_VERSION=3.17.3 /bin/sh -c install -dm 2750 -o root -g root /etc/monit.d # buildkit |
RUN |1 ALPINE_VERSION=3.17.3 /bin/sh -c install -dm 2750 -o root -g root /etc/monit.d/external/ # buildkit |
RUN |1 ALPINE_VERSION=3.17.3 /bin/sh -c install -dm 2750 -o root -g root /var/lib/monit # buildkit |
COPY /etc/monitrc /etc/monitrc # buildkit |
COPY ./nsupdate.sh /usr/local/bin/nsupdate # buildkit |
COPY ./whatsmyip6.sh /usr/local/bin/whatsmyip6 # buildkit |
COPY ./syslogize.sh /usr/local/bin/syslogize # buildkit |
COPY ./zeroconf.sh /usr/local/bin/zeroconf # buildkit |
COPY ./zeroconf.conf /etc/zeroconf.conf # buildkit |
EXPOSE map[2812/tcp:{}] |
ENTRYPOINT ["/sbin/tini" "--"] |
CMD ["/usr/bin/monit"] |
ARG ALPINE_VERSION |
MAINTAINER "f <f@sutty.nl>" |
ARG RUBY_VERSION |
ARG RUBY_PATCH |
RUN |3 ALPINE_VERSION=3.17.3 RUBY_VERSION=3.1 RUBY_PATCH=4 /bin/sh -c apk add --no-cache tzdata ruby~${RUBY_VERSION}.${RUBY_PATCH} && rm /usr/lib/ruby/${RUBY_VERSION}.0/rubygems.rb # buildkit |
RUN |3 ALPINE_VERSION=3.17.3 RUBY_VERSION=3.1 RUBY_PATCH=4 /bin/sh -c apk add --no-cache ruby-json ruby-bigdecimal ruby-rake ruby-bundler ruby-irb ruby-io-console ruby-etc # buildkit |
COPY /usr/lib/ruby/3.1.0/rubygems.rb /usr/lib/ruby/3.1.0/ # buildkit |
ARG ALPINE_VERSION |
MAINTAINER f <f@sutty.nl> |
ENV RAILS_ENV=production |
RUN |1 ALPINE_VERSION=3.17.3 /bin/sh -c getent group 82 || addgroup -g 82 -S www-data # buildkit |
RUN |1 ALPINE_VERSION=3.17.3 /bin/sh -c adduser -s /bin/sh -G www-data -h /srv -D rails # buildkit |
RUN |1 ALPINE_VERSION=3.17.3 /bin/sh -c install -dm 750 -o rails -g www-data /srv # buildkit |
RUN |1 ALPINE_VERSION=3.17.3 /bin/sh -c apk add --no-cache jemalloc daemonize libxslt libxml2 # buildkit |
RUN |1 ALPINE_VERSION=3.17.3 /bin/sh -c gem install --no-document --no-user-install foreman # buildkit |
COPY ./monit.conf /etc/monit.d/rails.conf # buildkit |
COPY ./Procfile /etc/Procfile # buildkit |
COPY ./entrypoint.sh /usr/local/bin/rails # buildkit |
VOLUME [/srv] |
EXPOSE map[3000/tcp:{}] |
EXPOSE map[9394/tcp:{}] |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2023-05-10T17:48:22Z |
org.opencontainers.image.revision | 25e68319f72155b0636cc59081431a5dc2cfc652 |
org.opencontainers.image.source | https://gitea.nulo.in/Sutty/containers-rails.git |
org.opencontainers.image.url | https://gitea.nulo.in/Sutty/containers-rails |
Details
2023-05-10 17:49:54 +00:00
Versions (21)
View all
Container
8
OCI / Docker
linux/amd64
15 MiB
latest
2024-10-29
3.17.10-3.1.5
2024-10-29
3.18.9-3.2.4
2024-10-29
3.19.4-3.2.4
2024-10-29
3.20.3-3.3.3
2024-10-29