Initial commit

This commit is contained in:
2024-05-10 14:17:33 +02:00
commit d5c8458cb4
5 changed files with 40 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
# 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"]
View File
Executable
+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
#/repos/Rbm/build/release/poet.elf f
/repos/Rbm/build/release/rbm.elf
Executable
+4
View File
@@ -0,0 +1,4 @@
#/bin/bash
# Run container interactive with X11
docker container run --rm --net bridge -e DISPLAY=$DISPLAY -it rbm bash --login
Executable
+4
View File
@@ -0,0 +1,4 @@
#/bin/bash
# Run container interactive with X11
docker container run --rm --net bridge -e DISPLAY=$DISPLAY -it rbm