aboutsummaryrefslogtreecommitdiffstats
path: root/helios/Dockerfile
blob: 2f0441311bd3d937fd4255d4f71907c451c32e8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM debian:bookworm-slim AS builder
RUN apt-get update && \
      apt-get install -y curl bash perl6-readline && \
      curl https://raw.githubusercontent.com/a16z/helios/master/heliosup/install | bash && \
      root/.helios/bin/heliosup install

FROM debian:bookworm-slim
RUN apt-get update && \
      apt-get install -y libc6
ENV HOME=/home/helios
RUN set -eux; \
  adduser -u 1001 --home $HOME helios
COPY --from=builder /root/.helios/bin/helios /usr/local/bin/helios
COPY --from=builder /root/.helios/bin/heliosup /usr/local/bin/heliosup
RUN chown -R helios:helios "$HOME"