Skip to content

Commit

Permalink
add more test code
Browse files Browse the repository at this point in the history
  • Loading branch information
helight committed Nov 12, 2018
1 parent 28ecdff commit 64427ad
Show file tree
Hide file tree
Showing 951 changed files with 1,460 additions and 146,471 deletions.
30 changes: 30 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#Version 0.1
FROM ubuntu:latest

MAINTAINER helight "[email protected]"

#设置root用户为后续命令的执行者
USER root

# RUN rm -rf /etc/apt/sources.list
# RUN echo 'deb http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse' >> /etc/apt/sources.list
# RUN echo 'deb http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse' >> /etc/apt/sources.list
# RUN echo 'deb http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse' >> /etc/apt/sources.list
# RUN echo 'deb http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse' >> /etc/apt/sources.list
# RUN echo 'deb http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse' >> /etc/apt/sources.list

#执行操作
RUN \
apt-get update && \
apt-get install -y build-essential && \
apt-get install -y mariadb-server mariadb-common && \
apt-get install -y git net-tools iputils-ping curl && \
apt-get install -y golang-1.10 golang && \
apt-get install -y nginx && \
apt-get install -y sqlite3 && \
apt-get install -y vim lua5.1 lua5.1-dev
RUN apt-get install -y g++ make autoconf
#对外暴露端口
EXPOSE 80 8080 3306

CMD ["/bin/bash"]
202 changes: 0 additions & 202 deletions LICENSE

This file was deleted.

88 changes: 0 additions & 88 deletions README.md

This file was deleted.

40 changes: 0 additions & 40 deletions builder/build.py

This file was deleted.

Loading

0 comments on commit 64427ad

Please sign in to comment.