-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (28 loc) · 910 Bytes
/
Dockerfile
File metadata and controls
34 lines (28 loc) · 910 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# SPDX-FileCopyrightText: 2024-2025 Dyne.org foundation
#
# SPDX-License-Identifier: AGPL-3.0-or-later
FROM dyne/devuan:excalibur
COPY src/slexfe /usr/local/bin/
COPY Makefile Makefile
COPY src ./src
COPY bun.lock bun.lock
COPY .tool-versions .tool-versions
COPY package.json package.json
COPY tsconfig.json tsconfig.json
# mise
RUN apt-get update \
&& apt-get -y --no-install-recommends install \
sudo curl git ca-certificates build-essential \
&& rm -rf /var/lib/apt/lists/*
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ENV MISE_DATA_DIR="/mise"
ENV MISE_CONFIG_DIR="/mise"
ENV MISE_CACHE_DIR="/mise/cache"
ENV MISE_INSTALL_PATH="/usr/local/bin/mise"
ENV PATH="/mise/shims:$PATH"
RUN curl https://mise.run | sh
RUN mise trust
RUN --mount=type=cache,target=/mise/cache mise i
RUN make slangroom-exec
RUN cp slangroom-exec /usr/local/bin/slangroom-exec
ENTRYPOINT ["/usr/local/bin/slangroom-exec"]