Skip to content

Commit 0e075c5

Browse files
committed
Add a dockerfile for the powerjoular backend. This builds powerjoular version 1.1.0.
1 parent 3190db5 commit 0e075c5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM ubuntu:24.04
2+
3+
# get the ada compiler
4+
RUN apt-get update && apt-get install -y gnat gprbuild git
5+
6+
# get the powerjoular source
7+
RUN git clone https://github.com/joular/powerjoular.git
8+
9+
# compile the code
10+
WORKDIR /powerjoular
11+
RUN gprbuild
12+
13+
# copy the binary to bin
14+
RUN cp obj/powerjoular /usr/bin/powerjoular
15+
16+
# set powerjoular as the entrypoint
17+
WORKDIR /
18+
ENTRYPOINT ["/usr/bin/powerjoular"]

0 commit comments

Comments
 (0)