-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathDockerfile
More file actions
40 lines (33 loc) · 872 Bytes
/
Dockerfile
File metadata and controls
40 lines (33 loc) · 872 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
35
36
37
38
39
40
FROM ubuntu:noble-20250714
ENV DEBIAN_FRONTEND=noninteractive
ENV ACCEPT_EULA=y
RUN mkdir -p /app && \
mkdir -p /opt/hoop/sessions && \
mkdir -p /opt/hoop/bin && \
apt-get update -y && \
apt-get install -y \
xz-utils \
locales \
tini \
openssh-client \
procps \
gettext-base \
curl
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8
COPY rootfs /
COPY dist/binaries/ /tmp/
RUN tar -xf /tmp/hoop_*_$(uname -s)_$(uname -m).tar.gz -C /app/ && \
chown root:root /app/hoop* && \
chmod 755 /app/hoop* && \
rm -rf /tmp/* && \
rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
EXPOSE 8009
EXPOSE 8010
EXPOSE 15432
ENV PATH="/app:${PATH}"
ENV PATH="/opt/hoop/bin:${PATH}"
ENTRYPOINT ["tini", "--"]