first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
14
base/coldfusion/8.0.1/Dockerfile
Normal file
14
base/coldfusion/8.0.1/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM ubuntu:14.04
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
COPY install/ /opt/
|
||||
|
||||
RUN set -ex \
|
||||
&& apt-get update && apt-get install wget libstdc++5 -y \
|
||||
&& bash /opt/installer.sh \
|
||||
&& rm -r /var/lib/apt/lists/*
|
||||
|
||||
EXPOSE 8500
|
||||
WORKDIR /opt/coldfusion8
|
||||
|
||||
CMD ["bash", "-c", "/opt/coldfusion8/bin/coldfusion start && tail -f /opt/coldfusion8/logs/cfserver.log"]
|
11
base/coldfusion/8.0.1/install/installer.properties
Normal file
11
base/coldfusion/8.0.1/install/installer.properties
Normal file
@@ -0,0 +1,11 @@
|
||||
INSTALLER_UI=silent
|
||||
SAVE_DEBUG_OUTPUT=true
|
||||
SILENT_LICENSE_MODE=developer
|
||||
SILENT_INSTALL_FOLDER=/opt/coldfusion8
|
||||
SILENT_WEB_SERVER_SELECTION=internal
|
||||
SILENT_RUNTIME_USER=root
|
||||
SILENT_ADMIN_PASSWORD=admin
|
||||
SILENT_CONFIGURE_SYSTEM_INIT=false
|
||||
SILENT_INSTALLER_TYPE=standalone
|
||||
SILENT_UPDATER=false
|
||||
SILENT_ENABLE_RDS=false
|
15
base/coldfusion/8.0.1/install/installer.sh
Normal file
15
base/coldfusion/8.0.1/install/installer.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
cd /opt/
|
||||
if [ ! -f "coldfusion-801-lin64.bin" ]; then
|
||||
wget -O coldfusion-801-lin64.bin https://file.vulhub.org/download/coldfusion/coldfusion-801-lin64.bin
|
||||
chmod 755 coldfusion-801-lin64.bin
|
||||
fi
|
||||
|
||||
./coldfusion-801-lin64.bin -f installer.properties
|
||||
|
||||
if [ -f "coldfusion-801-lin64.bin" ]; then
|
||||
rm coldfusion-801-lin64.bin
|
||||
fi
|
Reference in New Issue
Block a user