GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docker-rt/6.0/Dockerfile at main · netsandbox/docker-rt

Expand file tree

/

Dockerfile

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
46 lines (38 loc) · 1.51 KB
/

Dockerfile

Copy path

File metadata and controls

46 lines (38 loc) · 1.51 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#checkov:skip=CKV_DOCKER_2:Ensure that HEALTHCHECK instructions have been added to container images
#checkov:skip=CKV_DOCKER_3:Ensure that a user for the container has been created
ARG IMAGE=netsandbox/request-tracker-base
ARG TAG=latest
FROM ${IMAGE}:${TAG}
LABEL org.opencontainers.image.authors="Christian Loos <[email protected]>"
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
WORKDIR /usr/local/src
# hadolint ignore=DL3003,SC2174
RUN curl -fsSL -o rt.tar.gz https://download.bestpractical.com/pub/rt/release/rt-6.0.4.tar.gz \
&& if [[ "https://download.bestpractical.com/pub/rt/release/rt-6.0.4.tar.gz" =~ ^https://download.bestpractical.com/pub/rt/ ]]; then \
curl -fsSL -o rt.tar.gz.asc https://download.bestpractical.com/pub/rt/release/rt-6.0.4.tar.gz.asc; \
gpg --keyserver keyserver.ubuntu.com --recv-keys C49B372F2BF84A19011660270DF0A283FEAC80B2; \
gpg --list-keys; \
gpg --verify rt.tar.gz.asc rt.tar.gz; \
fi \
&& tar -xzf rt.tar.gz \
&& cd rt-* \
&& ./configure.ac \
--prefix=/opt/rt \
--enable-developer \
--enable-externalauth \
--enable-gpg \
--enable-graphviz \
--enable-smime \
--with-db-type=SQLite \
--with-web-handler=standalone \
&& make install \
&& mkdir --mode=0600 --parents /opt/rt/var/data/{gpg,smime} \
&& make initialize-database \
&& cd .. && rm -rf /usr/local/src/*
WORKDIR /opt/rt
COPY RT_SiteConfig.pm etc/
VOLUME /opt/rt
COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["docker-entrypoint.sh"]
EXPOSE 80
CMD ["/opt/rt/sbin/rt-server"]
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.