Files
rbm-docker/Dockerfile
T
2024-05-10 14:17:33 +02:00

29 lines
668 B
Docker

# syntax=docker/dockerfile:1
FROM debian:bookworm as stage0
RUN apt-get update
RUN apt-get install -y \
build-essential \
git \
make \
unzip \
libjsoncpp-dev \
libarmadillo-dev \
libgl-dev \
libx11-dev libfreetype-dev libxinerama-dev libxcursor-dev
# -------------------------------------
FROM stage0 as stage1
ADD http://vlda-01:3001/jayfield/Rbm.git /repos/Rbm
WORKDIR "/repos/Rbm"
RUN make PRJ=POET
RUN make PRJ=GUI
# -------------------------------------
FROM stage1 as stage2
RUN /usr/bin/echo "alias ll='ls -la'" >> ~/.profile
RUN /usr/bin/echo "echo .profile sourced" >> ~/.profile
COPY app/app.sh /app/
CMD ["/app/app.sh"]