Skip to content

Commit 82ccfa9

Browse files
committed
Add radicle - meh
1 parent 6fce87b commit 82ccfa9

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

docker/radicle/Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM alpine:3
2+
3+
RUN apk add --no-cache tar curl xz && adduser -D radicle
4+
5+
ARG VERSION=1.7.1
6+
RUN curl -o radicle.tar.xyz https://files.radicle.xyz/releases/latest/radicle-${VERSION}-x86_64-unknown-linux-musl.tar.xz && \
7+
tar -C / -xf radicle.tar.xyz && \
8+
mv /radicle-${VERSION}-x86_64-unknown-linux-musl/bin/* /usr/local/bin && \
9+
rm -rf /radicle-${VERSION}-x86_64-unknown-linux-musl
10+
11+
WORKDIR /home/radicle
12+
USER radicle:radicle
13+
14+
CMD ["radicle-node"]

docker/radicle/Dockerfile.ui

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM node:20-slim
2+
3+
RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates curl
4+
RUN git clone https://seed.radicle.xyz/z4V1sjrXqjvFdnCUbxPFqd5p4DtH5 /code && chown 1000:1000 -R /code
5+
6+
USER 1000:1000
7+
8+
WORKDIR /code
9+
10+
RUN npm ci
11+
12+
ENV VITE_RUNTIME_CONFIG=true
13+
EXPOSE 3000
14+
15+
CMD ["npm", "start"]

0 commit comments

Comments
 (0)