Skip to content

Commit 80ef307

Browse files
authored
Merge pull request #2 from ObolNetwork/oisin/dockerfile
Add JDs dockerfile
2 parents ef5b0c3 + f1e5a8e commit 80ef307

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Dockerfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
FROM ubuntu:24.04
2+
3+
# Install curl
4+
RUN apt-get update && apt-get install -y \
5+
curl \
6+
&& rm -rf /var/lib/apt/lists/*
7+
8+
# Create non-root user
9+
RUN useradd -m -s /bin/bash helios
10+
11+
# Switch to non-root user
12+
USER helios
13+
WORKDIR /home/helios
14+
15+
# Set environment variable for helios
16+
ENV PATH="/home/helios/.helios/bin:${PATH}"
17+
18+
# Install heliosup first, then use it to install helios
19+
RUN curl -fsSL https://raw.githubusercontent.com/a16z/helios/master/heliosup/install | bash && \
20+
/bin/bash -c 'heliosup'
21+
22+
# Set a default command
23+
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)