Skip to content

Commit

Permalink
Dockerfile: remove leading v for versions (#188)
Browse files Browse the repository at this point in the history
* Dockerfile: remove leading v for versions

* Update Dockerfile
  • Loading branch information
ManuelHu authored Dec 11, 2024
1 parent d60aafe commit 0509c67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .dockerhub/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ RUN mkdir -p src build /opt/remage && \
if [ "${REMAGE_VERSION}" = "dev" ]; then \
rm -rf src && \
git clone "https://github.com/legend-exp/remage" src && \
REMAGE_VERSION_SET="$(git -C src describe --tags)"; \
REMAGE_VERSION_SET="$(git -C src describe --tags | sed 's/^v//')"; \
else \
REMAGE_VERSION_SET="${REMAGE_VERSION}" && \
REMAGE_VERSION_SET="$(echo $REMAGE_VERSION | sed 's/^v//')" && \
wget -q -O- "https://github.com/legend-exp/remage/archive/${REMAGE_VERSION}.tar.gz" \
| tar --strip-components 1 -C src --strip=1 -x -z; \
fi && \
Expand Down

0 comments on commit 0509c67

Please sign in to comment.