This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tsg-tsg-diagnose/images_build/server_web/Dockerfile
2024-11-07 10:31:09 +08:00

35 lines
941 B
Docker

# Start with Ubuntu 16.04 (LTS), and build badssl.com up from there
FROM ubuntu:16.04
RUN sed -i s@/archive.ubuntu.com/@/mirrors.tuna.tsinghua.edu.cn/@g /etc/apt/sources.list \
&& apt-get clean \
&& apt-get update \
&& apt-get install -y apt-transport-https \
&& apt-get install -y software-properties-common \
&& apt-add-repository ppa:brightbox/ruby-ng \
&& apt-get update \
&& apt-get install -y \
build-essential \
git \
libffi-dev \
make \
nginx \
ruby \
ruby-dev \
net-tools \
iputils-ping \
faketime \
&& gem update --system 3.1.6 \
&& gem install ffi --version 1.15.5 \
&& gem install public_suffix --version 4.0.7 \
&& gem install rb-inotify --version 0.10.1 \
&& gem install listen --version 3.5.0 \
&& gem install jekyll --version 3.6.0
# Install badssl.com
ADD . badssl.com
WORKDIR badssl.com
# Start things up!
CMD tail -f /dev/null