Skip to content

Commit

Permalink
Simplify entrpoints.
Browse files Browse the repository at this point in the history
  • Loading branch information
thmull committed Aug 22, 2023
1 parent efa695c commit bc50610
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 12 deletions.
3 changes: 0 additions & 3 deletions .scripts/entrypoint-hyper.sh

This file was deleted.

3 changes: 0 additions & 3 deletions .scripts/entrypoint-proxy.sh

This file was deleted.

3 changes: 0 additions & 3 deletions .scripts/entrypoint-sd.sh

This file was deleted.

2 changes: 1 addition & 1 deletion docker/Hyper.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ RUN addgroup --gid 9999 hyper && adduser --disabled-password --gecos '' --uid 99
WORKDIR /app
COPY --from=builder /go/bin/hyper /app/.scripts/entrypoint-hyper.sh /app/

ENTRYPOINT ["/bin/sh", "./entrypoint-hyper.sh"]
ENTRYPOINT ["/app/hyper"]
2 changes: 1 addition & 1 deletion docker/Proxy.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ RUN addgroup --gid 9999 hyper && adduser --disabled-password --gecos '' --uid 99
WORKDIR /app
COPY --from=builder /go/bin/proxy /app/.scripts/entrypoint-proxy.sh /app/

ENTRYPOINT ["/bin/sh", "./entrypoint-proxy.sh"]
ENTRYPOINT ["/app/proxy"]
2 changes: 1 addition & 1 deletion docker/Sd.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ RUN addgroup --gid 9999 hyper && adduser --disabled-password --gecos '' --uid 99
WORKDIR /app
COPY --from=builder /go/bin/sd /app/.scripts/entrypoint-sd.sh /app/

ENTRYPOINT ["/bin/sh", "./entrypoint-sd.sh"]
ENTRYPOINT ["/app/sd"]

0 comments on commit bc50610

Please sign in to comment.