Optimizes Docker image builds and automates tracking of upstream a16z/helios releases.#7
Open
Optimizes Docker image builds and automates tracking of upstream a16z/helios releases.#7
Conversation
OisinKyne
approved these changes
Oct 30, 2025
OisinKyne
left a comment
There was a problem hiding this comment.
Looks like it works to me. We could plausibly delete basically everything in this repo bar these two files if i understand how they work correctly.
| # Set a default entrypoint | ||
| ENTRYPOINT ["helios"] No newline at end of file | ||
| ENTRYPOINT ["helios"] | ||
| CMD ["--help"] |
There was a problem hiding this comment.
won't this CMD prevent the image from starting normally unless you know to override it with an empty cmd?
Comment on lines
+11
to
+27
| REPO="a16z/helios" && \ | ||
| if [ -z "$HELIOS_VERSION" ] || [ "$HELIOS_VERSION" = "latest" ]; then \ | ||
| TAG=$(curl -s https://api.github.com/repos/$REPO/releases/latest | grep -o '"tag_name": "[^"]*' | grep -o '[^"]*$'); \ | ||
| else \ | ||
| TAG="$HELIOS_VERSION"; \ | ||
| fi && \ | ||
| PLATFORM="linux" && \ | ||
| case "$TARGETARCH" in \ | ||
| amd64) ARCHITECTURE="amd64" ;; \ | ||
| arm64) ARCHITECTURE="arm64" ;; \ | ||
| arm) ARCHITECTURE="armv7" ;; \ | ||
| *) ARCHITECTURE="amd64" ;; \ | ||
| esac && \ | ||
| TARBALL_URL="https://github.com/$REPO/releases/download/${TAG}/helios_${PLATFORM}_${ARCHITECTURE}.tar.gz" && \ | ||
| echo "Downloading helios ${TAG} for ${PLATFORM}_${ARCHITECTURE}" && \ | ||
| mkdir -p /helios && \ | ||
| curl -L "$TARBALL_URL" | tar -xzC /helios |
There was a problem hiding this comment.
If we do this, do we need to keep the rest of the repo at all? like this repo could basically just be this dockerfile and some github actions?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Optimizes Docker image builds and automates tracking of upstream a16z/helios releases.
Changes
obolnetwork/helios) and GHCR (ghcr.io/obolnetwork/helios)How it works
0.10.1) andlatest