Thu, 23 Mar 2023 18:28:20 +0000
Add support for component connections
179
8a9bf558aead
Dockerfile: Update to bullseye-slim and install lua-unbound
Matthew Wild <mwild1@gmail.com>
parents:
141
diff
changeset
|
1 | FROM debian:bullseye-slim |
94 | 2 | |
3 | MAINTAINER Matthew Wild <mwild1@gmail.com> | |
4 | ||
5 | RUN apt-get update \ | |
6 | && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | |
7 | lua5.2 \ | |
8 | lua-cjson \ | |
9 | lua-expat \ | |
140
2758cfb4e26d
Dockerfile: Add luafilesystem for '-d'
Matthew Wild <mwild1@gmail.com>
parents:
94
diff
changeset
|
10 | lua-filesystem \ |
180
249197af6c01
Dockerfile, verse: Add support for sha1 via luaossl
Matthew Wild <mwild1@gmail.com>
parents:
179
diff
changeset
|
11 | lua-luaossl \ |
94 | 12 | lua-sec \ |
13 | lua-socket \ | |
179
8a9bf558aead
Dockerfile: Update to bullseye-slim and install lua-unbound
Matthew Wild <mwild1@gmail.com>
parents:
141
diff
changeset
|
14 | lua-unbound \ |
94 | 15 | make \ |
16 | && rm -rf /var/lib/apt/lists/* | |
17 | ||
18 | RUN ln -s /usr/bin/lua5.2 /usr/local/bin/lua | |
19 | ||
20 | RUN mkdir -p /tmp/build | |
21 | ||
22 | ADD . /tmp/build | |
23 | ||
24 | WORKDIR /tmp/build | |
25 | ||
26 | RUN ./configure && make && install build/scansion /usr/local/bin/scansion && rm -rf /tmp/build | |
27 | ||
28 | ADD verse.lua /usr/local/share/lua/5.2/verse.lua | |
29 | ||
30 | ADD misc/docker-entrypoint.sh /entrypoint.sh | |
31 | ||
32 | RUN chmod a=rx /entrypoint.sh | |
33 | ||
34 | ENTRYPOINT ["/entrypoint.sh"] | |
35 | ||
36 | USER nobody | |
37 | ||
38 | ADD scripts /scripts | |
39 | ||
40 | VOLUME ["/scripts"] | |
41 | ||
42 | WORKDIR /scripts | |
43 | ||
141
7b774278ca84
Dockerfile: Run all tests in /scripts by default
Matthew Wild <mwild1@gmail.com>
parents:
140
diff
changeset
|
44 | CMD ["-d", "/scripts"] |
94 | 45 |