-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile.core
47 lines (37 loc) · 2.29 KB
/
Dockerfile.core
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
FROM dockerimages/ubuntu-core
MAINTAINER JeongHoon Baek <coalash@gmail.com>
WORKDIR /root
ENV DEBIAN_FRONTEND noninteractive
RUN sed -i -e 's%http://archive.ubuntu.com/ubuntu%mirror://mirrors.ubuntu.com/mirrors.txt%' /etc/apt/sources.list
# RUN sed -i -e 's%archive.ubuntu.com/ubuntu%kr.archive.ubuntu.com/ubuntu%' /etc/apt/sources.list
# RUN sed -i -e 's%archive.ubuntu.com/ubuntu%ftp.neowiz.com/ubuntu%' /etc/apt/sources.list
# RUN apt-get update && apt-get -y install curl wget apt-utils
# RUN wget -q http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list && \
# apt-get update
# RUN apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring && \
# apt-get update
# RUN apt-get -y install build-essential vim-nox git dmd-bin dmd-doc dub libevent-dev libssl-dev libsqlite3-dev
# RUN apt-get update && apt-get -y install curl wget apt-utils && \
# wget -q http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list && \
# apt-get update && \
# apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring && \
# apt-get update && \
# apt-get -y install build-essential vim-nox git dmd-bin dub libevent-dev libssl-dev libsqlite3-dev && \
# apt-get clean
# RUN apt-get update && apt-get -y install curl wget apt-utils xz-utils && \
# apt-get clean && \
# curl -fsS https://dlang.org/install.sh | bash -s dmd-2.073.2 -v
# RUN apt-get -y install build-essential vim-nox git libevent-dev libssl-dev libsqlite3-dev && \
# apt-get clean
RUN apt-get update && apt-get -y install curl xz-utils ca-certificates && \
( curl -fsS https://dlang.org/install.sh | bash -s dmd-2.073.2 -v ) && \
apt-get -y install build-essential vim-tiny git libevent-dev libssl-dev libsqlite3-dev && \
apt-get clean
# # owlchain-core build
# RUN git clone -b docker https://github.com/owlchain/owlchain-core.git && \
# cd owlchain-core && ./build.sh
# git clone https://github.com/owlchain/owlchain-core.git && cd owlchain-core && . ~/dlang/dmd-2.073.2/activate && ./build.sh
# RUN git clone https://github.com/hey-jude/owlnet.git && \
# cd owlnet && . ~/dlang/dmd-2.073.2/activate && dub build -v
# git clone https://github.com/hey-jude/owlnet.git && cd owlnet && . ~/dlang/dmd-2.073.2/activate && dub build -v
EXPOSE 8080