-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
46 lines (35 loc) · 1.19 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# ------------------------------------------------------------------------------
# Pull base image
FROM ubuntu:20.04
# ------------------------------------------------------------------------------
# Arguments
ARG WORKDIR=/root
RUN dpkg --add-architecture i386
# ------------------------------------------------------------------------------
# Install tools via apt
ENV DEBIAN_FRONTEND=noninteractive
RUN apt -y update && \
apt -y install \
make \
libc6:i386 \
libncurses5:i386 \
libstdc++6:i386 \
wget \
unzip \
&& apt clean && rm -rf /var/lib/apt/lists
# ------------------------------------------------------------------------------
WORKDIR /palm
WORKDIR /tmp
RUN wget https://palm2000.com/storage/files/17-file-palmdev_V2.zip -O palmdev_V2.zip \
&& unzip palmdev_V2.zip -d /tmp \
&& ls ./palmdev_V2
RUN mv ./palmdev_V2/buildtools /palm \
&& mv ./palmdev_V2/linker.lkr /palm
ADD internal/Makefile /palm
WORKDIR /palm/Src
WORKDIR /artifacts
RUN chmod +x /palm/buildtools/pilrc3_2/bin/pilfont
RUN chmod +x /palm/buildtools/pilrc3_2/bin/pilrc
WORKDIR /helper_scripts
ADD internal/entrypoint.sh /helper_scripts
CMD ["/bin/bash","/helper_scripts/entrypoint.sh"]