File tree Expand file tree Collapse file tree 4 files changed +35
-3
lines changed
Expand file tree Collapse file tree 4 files changed +35
-3
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ RUN openssl genrsa -out /etc/ssl/private/share.key &&\
66 update-locale LANG=C.UTF-8
77ENV LANG=C.UTF-8
88
9- COPY share-entrypoint.sh /usr/local/bin/share-entrypoint
10- RUN chmod 555 /usr/local/bin/share-entrypoint
9+ COPY share-api- entrypoint.sh /usr/local/bin/share-api -entrypoint
10+ RUN chmod 555 /usr/local/bin/share-api- entrypoint
1111
1212COPY tmp/share-api /usr/local/bin/share
1313RUN chmod 555 /usr/local/bin/share
1414
15- ENTRYPOINT /usr/local/bin/share-entrypoint
15+ ENTRYPOINT /usr/local/bin/share-api- entrypoint
1616
1717ARG SHARE_COMMIT
1818ENV SHARE_COMMIT=$SHARE_COMMIT
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ set -ex
4+
5+ echo SHARE_REDIS: " $SHARE_REDIS "
6+
7+ if [ -n " $NOMAD_PORT_enlil_http " ]; then
8+ export SHARE_SERVER_PORT=" $NOMAD_PORT_enlil_http "
9+ fi
10+
11+ export SHARE_IP=0.0.0.0
12+
13+ exec 2>&1
14+ exec /usr/local/bin/share-task-runner
Original file line number Diff line number Diff line change 1+ FROM debian:trixie
2+ RUN apt-get update && apt-get install -y ssl-cert libpq5 ca-certificates curl locales
3+ RUN openssl genrsa -out /etc/ssl/private/share.key &&\
4+ echo "C.UTF-8 UTF-8" > /etc/locale.gen &&\
5+ dpkg-reconfigure --frontend=noninteractive locales &&\
6+ update-locale LANG=C.UTF-8
7+ ENV LANG=C.UTF-8
8+
9+ COPY share-task-runner-entrypoint.sh /usr/local/bin/share-task-runner-entrypoint
10+ RUN chmod 555 /usr/local/bin/share-task-runner-entrypoint
11+
12+ COPY tmp/share-task-runner /usr/local/bin/share-task-runner
13+ RUN chmod 555 /usr/local/bin/share-task-runner
14+
15+ ENTRYPOINT /usr/local/bin/share-task-runner-entrypoint
16+
17+ ARG SHARE_COMMIT
18+ ENV SHARE_COMMIT=$SHARE_COMMIT
You can’t perform that action at this time.
0 commit comments