Skip to content

Commit

Permalink
fix rel. version for kiterunner
Browse files Browse the repository at this point in the history
  • Loading branch information
matusso committed Dec 7, 2024
1 parent 6525cec commit 23d8aa3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions files/kiterunner/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# Use Alpine Linux as the base image
FROM alpine:latest

ENV KR_DIR=$KR_DIR \
RELEASE_VERSION=$RELEASE_VERSION
ARG KR_DIR=${KR_DIR} \
RELEASE_VERSION=${RELEASE_VERSION}

ENV KR_DIR=${KR_DIR} \
RELEASE_VERSION=${RELEASE_VERSION}

# Install dependencies
RUN KR_DIR=$KR_DIR apk update && apk add --no-cache \
RUN KR_DIR="$KR_DIR" apk update && apk add --no-cache \
bash \
build-base \
git \
Expand All @@ -14,7 +17,7 @@ RUN KR_DIR=$KR_DIR apk update && apk add --no-cache \

# Clone kiterunner repository and build
WORKDIR $KR_DIR
RUN RELEASE_VERSION=$RELEASE_VERSION git clone --depth=1 --branch "$RELEASE_VERSION" https://github.com/assetnote/kiterunner.git . \
RUN RELEASE_VERSION="$RELEASE_VERSION" git clone --depth=1 --branch "$RELEASE_VERSION" https://github.com/assetnote/kiterunner.git . \
&& make build \
&& ln -s $(pwd)/dist/kr /usr/local/bin/kr

Expand Down

0 comments on commit 23d8aa3

Please sign in to comment.