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
2022-09-23 16:37:22 +08:00

32 lines
747 B
Docker

# Start with Ubuntu 16.04 (LTS), and build badssl.com up from there
FROM ubuntu:16.04
MAINTAINER TSG
RUN sed -i s@/archive.ubuntu.com/@/mirrors.163.com/@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 \
ruby2.6 \
ruby2.6-dev \
net-tools \
iputils-ping \
faketime \
&& gem update --system 3.1.6 \
&& gem install jekyll
# Install badssl.com
ADD . badssl.com
WORKDIR badssl.com
# Start things up!
CMD tail -f /dev/null