-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
951 changed files
with
1,460 additions
and
146,471 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.