-
Notifications
You must be signed in to change notification settings - Fork 12
/
Dockerfile
39 lines (30 loc) · 899 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM ubuntu:jammy
# jammy is the code name of 22.04 LTS
ARG password=embtdocker
ENV PA_SERVER_PASSWORD=$password
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -yy install \
build-essential \
libcurl4-openssl-dev \
libcurl3-gnutls \
libgl1-mesa-dev \
libgtk-3-bin \
libosmesa-dev \
libpython3.10 \
xorg
### Install PAServer
ADD https://altd.embarcadero.com/releases/studio/23.0/120/LinuxPAServer23.0.tar.gz ./paserver.tar.gz
RUN tar xvzf paserver.tar.gz
RUN mv PAServer-23.0/* .
RUN rm PAServer-23.0 -r
RUN rm paserver.tar.gz
# link to installed libpython3.10
RUN mv lldb/lib/libpython3.so lldb/lib/libpython3.so_
RUN ln -s /lib/x86_64-linux-gnu/libpython3.10.so.1 lldb/lib/libpython3.so
COPY paserver_docker.sh ./paserver_docker.sh
RUN chmod +x paserver_docker.sh
# PAServer
EXPOSE 64211
# broadwayd
EXPOSE 8082
CMD ./paserver_docker.sh