Initial commit
This commit is contained in:
+28
@@ -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"]
|
||||||
|
|
||||||
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#/repos/Rbm/build/release/poet.elf f
|
||||||
|
/repos/Rbm/build/release/rbm.elf
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
#/bin/bash
|
||||||
|
|
||||||
|
# Run container interactive with X11
|
||||||
|
docker container run --rm --net bridge -e DISPLAY=$DISPLAY -it rbm bash --login
|
||||||
Reference in New Issue
Block a user