Ver Fonte

no need for centos specific docker now

George S. Baugh há 4 anos atrás
pai
commit
25960fc8df
2 ficheiros alterados com 0 adições e 41 exclusões
  1. 0 38
      Dockerfile.centos
  2. 0 3
      deploy-centos.sh

+ 0 - 38
Dockerfile.centos

@@ -1,38 +0,0 @@
-FROM ubuntu:21.04
-
-USER root
-RUN useradd tcms
-RUN apt-get update
-RUN apt-get install -y make apt-utils mlocate
-
-ADD . /home/tcms
-RUN mkdir /home/tcms/.tcms
-RUN mkdir -p /home/tcms/www/scripts
-RUN chown -R tcms /home/tcms
-
-WORKDIR /home/tcms
-
-RUN apt-get install -y locales
-RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
-ENV LANG en_US.utf8
-
-ENV DEBIAN_FRONTEND=noninteractive
-RUN ln -fs /usr/share/zoneinfo/UTC /etc/localtime
-RUN apt-get install -y tzdata
-RUN dpkg-reconfigure --frontend noninteractive tzdata
-
-RUN make prereq-debian
-RUN updatedb
-
-ARG port=5000
-LABEL description="tCMS: a Perl CMS by Troglodyne LLC"
-
-ADD ./Makefile /home/tcms/Makefile
-
-RUN chown -R tcms /home/tcms
-
-USER tcms
-
-RUN make install
-RUN make reset-dummy-data
-CMD /usr/bin/starman -p $port www/server.psgi

+ 0 - 3
deploy-centos.sh

@@ -1,3 +0,0 @@
-#!/bin/sh
-docker build -t troglodyne/tcms . -f Dockerfile.centos
-docker run -dp 5000:5000 troglodyne/tcms:latest "//usr/bin/starman" "www/server.psgi"