Skip to content

Commit 16e66d1

Browse files
committedSep 29, 2017
Initial work on Dockerfile
1 parent 7237c00 commit 16e66d1

File tree

2 files changed

+67
-0
lines changed

2 files changed

+67
-0
lines changed
 

‎.dockerignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
*/.DS_Store
2+
.DS_Store
3+
.DS_Store?
4+
Export/
5+
ndll/*/lime*
6+
ndll/*/liblime*
7+
ndll/*/nme*
8+
nddl/*/libnme*
9+
project/all_objs
10+
project/obj
11+
project/vc*.pdb
12+
project/winrt/shaders/
13+
*.userprefs
14+
*.swp
15+
.idea/
16+
*.iml
17+
tools/*.n
18+
tools/*.exe
19+
haxedoc.xml
20+
docs/*.xml
21+
docs/xml
22+
docs/pages*
23+
*.git*

‎Dockerfile

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
ARG HAXE_VERSION=3.4.3
2+
ARG UBUNTU_VERSION=16.04
3+
4+
FROM haxe:${HAXE_VERSION} as haxe
5+
6+
FROM ubuntu:${UBUNTU_VERSION}
7+
RUN apt-get update -yqq && apt-get install -yq \
8+
libgl1-mesa-dev \
9+
libglu1-mesa-dev \
10+
g++ \
11+
g++-multilib \
12+
gcc-multilib \
13+
libasound2-dev \
14+
libx11-dev \
15+
libxext-dev \
16+
libxi-dev \
17+
libxrandr-dev \
18+
libxinerama-dev \
19+
libgc1c2 \
20+
git \
21+
vim
22+
23+
COPY --from=haxe /usr/local/lib/haxe/ /usr/local/lib/haxe/
24+
COPY --from=haxe /usr/local/bin/haxe* /usr/local/bin/
25+
COPY --from=haxe /usr/local/bin/haxelib /usr/local/bin/
26+
COPY --from=haxe /usr/local/lib/neko/ /usr/local/lib/neko/
27+
COPY --from=haxe /usr/local/lib/libneko* /usr/local/lib/
28+
COPY --from=haxe /usr/local/lib/libneko* /usr/lib/
29+
COPY --from=haxe /usr/local/bin/neko* /usr/local/bin/
30+
31+
# TODO: Add Android SDK, Emscripten SDK, etc
32+
33+
RUN haxelib setup /usr/lib/haxe/lib/
34+
RUN haxelib install hxcpp
35+
RUN haxelib git format https://github.com/jgranick/format
36+
RUN haxelib install munit
37+
38+
COPY . /opt/lime/
39+
COPY templates/bin/lime.sh /usr/local/bin/lime
40+
RUN haxelib dev lime /opt/lime/
41+
RUN lime rebuild tools
42+
RUN lime rebuild linux
43+
44+
CMD [ "lime" ]

0 commit comments

Comments
 (0)
Please sign in to comment.