Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Sysrex bootstrappers #346

Merged
merged 6 commits into from
May 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ COPY . /orchestrator-relayer
WORKDIR /orchestrator-relayer
RUN make build

# stage 2
FROM alpine:3.17.3
# final image
FROM alpine:3.17.2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not keep 3.17.3?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually, this is the one present in the e2e Dockerfile that's why I kept it, I don't have strong considerations around minor versions in alpine.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's leave it for now then, it's cool

# hadolint ignore=DL3018
RUN apk update && apk --no-cache add bash

COPY --from=builder /orchestrator-relayer/build/qgb /bin/qgb
COPY --chown=${USER_NAME}:${USER_NAME} docker/entrypoint.sh /opt/entrypoint.sh

# p2p port
EXPOSE 30000

ENTRYPOINT [ "/bin/qgb" ]
ENTRYPOINT [ "/bin/bash", "/opt/entrypoint.sh" ]
10 changes: 10 additions & 0 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

set -e


echo "Starting Celestia QGB with command:"
echo "$@"
echo ""

exec "$@"