Skip to content

Commit

Permalink
Merge pull request #54 from Arrow-air/owlot/chore-bump-tenv-versions
Browse files Browse the repository at this point in the history
chore: bump tenv and tofu versions
  • Loading branch information
owlot authored Oct 12, 2024
2 parents 23bffed + 9d86648 commit fae60d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docker/arrow-tenv/.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TENV_VERSION=1.2.0
TOFU_VERSION=1.6.2
TENV_VERSION=3.2.4
TOFU_VERSION=1.8.3
VERSION=v${TENV_VERSION}-v${TOFU_VERSION}
8 changes: 4 additions & 4 deletions docker/arrow-tenv/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ FROM alpine:latest
ARG TARGETOS
ARG TARGETARCH

ENV TENV_VERSION=1.2.0
ENV TOFU_VERSION=1.6.2
ENV TENV_VERSION=3.2.4
ENV TOFU_VERSION=1.8.3
ENV TENV_AUTO_INSTALL=true
ENV USER=tenv
ENV PATH "/home/$USER/.tenv:$PATH"
ENV PATH="/home/$USER/.tenv:$PATH"

RUN apk add --no-cache bash curl git cosign

Expand All @@ -18,7 +18,7 @@ RUN cd ~ && mkdir .tenv && cd .tenv && \
wget -O tenv-${TENV_VERSION}.tar.gz https://github.com/tofuutils/tenv/releases/download/v${TENV_VERSION}/$(if [ "$TARGETARCH" == 'amd64' ] ; then echo "tenv_v${TENV_VERSION}_Linux_x86_64" ; else echo "tenv_v${TENV_VERSION}_Linux_$TARGETARCH" ; fi).tar.gz && \
tar axvf tenv-${TENV_VERSION}.tar.gz && \
rm tenv-${TENV_VERSION}.tar.gz && \
tenv install $TOFU_VERSION && \
tenv tofu install $TOFU_VERSION && \
chmod -R 777 /home/tenv/.tenv

SHELL ["/bin/bash"]
Expand Down

0 comments on commit fae60d0

Please sign in to comment.