diff --git a/option/src/app/fn/fn_go/Dockerfile.orig b/option/src/app/fn/fn_go/Dockerfile.orig deleted file mode 100644 index 23cfa19..0000000 --- a/option/src/app/fn/fn_go/Dockerfile.orig +++ /dev/null @@ -1,15 +0,0 @@ -FROM oraclelinux:7-slim -WORKDIR /function -RUN groupadd --gid 1000 fn && adduser --uid 1000 --gid fn fn - -RUN yum -y install oracle-release-el7 oracle-golang-release-el7 && \ - yum -y install oracle-instantclient-release-el7 && \ - yum-config-manager --disable ol7_developer_EPEL && \ - yum -y install oracle-instantclient-basic oracle-instantclient-sqlplus gcc golang git && \ - rm -rf /var/cache/yum - -# Install the program -ADD . /function/ -RUN go get . -RUN go build . -CMD ./func \ No newline at end of file diff --git a/option/src/app/go/Dockerfile.orig b/option/src/app/go/Dockerfile.orig deleted file mode 100644 index 0085306..0000000 --- a/option/src/app/go/Dockerfile.orig +++ /dev/null @@ -1,12 +0,0 @@ -FROM oraclelinux:7-slim - -RUN yum -y install oracle-release-el7 oracle-golang-release-el7 && \ - yum-config-manager --disable ol7_developer_EPEL && \ - yum -y install oracle-instantclient-basic oracle-instantclient-sqlplus gcc golang && \ - rm -rf /var/cache/yum - -WORKDIR /app -COPY src/* /app/ -RUN go get . -RUN go build . -CMD ./app \ No newline at end of file diff --git a/option/src/app/node/Dockerfile.orig b/option/src/app/node/Dockerfile.orig deleted file mode 100644 index 3f09c5d..0000000 --- a/option/src/app/node/Dockerfile.orig +++ /dev/null @@ -1,12 +0,0 @@ -FROM oraclelinux:7-slim - -RUN yum -y install oracle-release-el7 oracle-nodejs-release-el7 && \ - yum -y install oracle-instantclient-release-el7 && \ - yum-config-manager --disable ol7_developer_EPEL && \ - yum -y install oracle-instantclient-basic oracle-instantclient-sqlplus nodejs python3 && \ - rm -rf /var/cache/yum - -WORKDIR /app -COPY src/* /app/ -RUN npm install -CMD exec node rest.js \ No newline at end of file diff --git a/option/src/app/php/Dockerfile.j2.orig b/option/src/app/php/Dockerfile.j2.orig deleted file mode 100644 index ffc8e87..0000000 --- a/option/src/app/php/Dockerfile.j2.orig +++ /dev/null @@ -1,21 +0,0 @@ -FROM oraclelinux:7-slim - -RUN yum -y install oracle-release-el7 oracle-php-release-el7 && \ - yum-config-manager --disable ol7_developer_EPEL && \ - yum install -y php php-json && \ - {%- if db_family == "oracle" %} - yum install -y oracle-instantclient-basic oracle-instantclient-sqlplus php-oci8-19c && \ - {%- elif db_family == "mysql" %} - yum install -y php-mysql && \ - {%- elif db_family == "psql" %} - yum install -y php-pgsql && \ - {%- endif %} - rm -rf /var/cache/yum && \ - sed -i "s/Listen 80$/Listen 8080/" /etc/httpd/conf/httpd.conf - -WORKDIR /app -COPY src/html/* /var/www/html/ -COPY src/php.ini.append.docker /app -RUN cat /app/php.ini.append.docker >> /etc/php.ini -COPY src/app.conf /etc/httpd/conf.d/ -ENTRYPOINT ["httpd", "-D", "FOREGROUND"]