-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
24 lines (20 loc) · 994 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM multiarch/alpine:x86-v3.12
ENV WINEDEBUG=-all
ENV L2_DDF_PATH=/srv/l2/asm_disasm/DAT_defs
RUN apk --no-cache add wine ncurses freetype git
RUN addgroup l2 && adduser -D -G l2 l2
COPY rootfs /
RUN chmod +x /usr/local/bin/l2wrap \
&& ln -s /usr/local/bin/l2wrap /usr/local/bin/l2encdec \
&& ln -s /usr/local/bin/l2wrap /usr/local/bin/l2encdec.exe \
&& ln -s /usr/local/bin/l2wrap /usr/local/bin/loaderCT1++ \
&& ln -s /usr/local/bin/l2wrap /usr/local/bin/loaderCT1++.exe \
&& ln -s /usr/local/bin/l2wrap /usr/local/bin/loader \
&& ln -s /usr/local/bin/l2wrap /usr/local/bin/loader.exe \
&& ln -s /usr/local/bin/l2wrap /usr/local/bin/patcher \
&& ln -s /usr/local/bin/l2wrap /usr/local/bin/patcher.exe \
&& ln -s /usr/local/bin/l2wrap /usr/local/bin/l2asm \
&& ln -s /usr/local/bin/l2wrap /usr/local/bin/l2asm.exe \
&& ln -s /usr/local/bin/l2wrap /usr/local/bin/l2disasm \
&& ln -s /usr/local/bin/l2wrap /usr/local/bin/l2disasm.exe
USER l2