Skip to content

Commit

Permalink
Release: v1.1.3 (#11)
Browse files Browse the repository at this point in the history
* Adds nvm

* Updates docker-compose plugin

* Updates checkov

* Fix nvm test
  • Loading branch information
egonbraun committed Jan 29, 2024
1 parent 8d5bf31 commit 8b8da5d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
21 changes: 19 additions & 2 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ RUN locale-gen "${DEFAULT_LANG}" \

ENV VERSION_DOCKER_CLI="25.0.0-1"
ENV VERSION_DOCKER_BUILDX_PLUGIN="0.12.1-1"
ENV VERSION_DOCKER_COMPOSE_PLUGIN="2.24.1-1"
ENV VERSION_DOCKER_COMPOSE_PLUGIN="2.24.2-1"
ENV FILENAME_DOCKER_SUFFIX="ubuntu.${VERSION_UBUNTU}~${VERSION_UBUNTU_NAME}_${TARGETARCH}.deb"
ENV FILENAME_DOCKER_CLI="docker-ce-cli_${VERSION_DOCKER_CLI}~${FILENAME_DOCKER_SUFFIX}"
ENV FILENAME_DOCKER_BUILDX_PLUGIN="docker-buildx-plugin_${VERSION_DOCKER_BUILDX_PLUGIN}~${FILENAME_DOCKER_SUFFIX}"
Expand Down Expand Up @@ -319,6 +319,23 @@ RUN git clone https://github.com/go-nv/goenv.git "${HOME}/.goenv" \
&& echo "eval \"\$(goenv init -)\"" >> "${HOME}/.bashrc" \
&& echo "export PATH=\"\$GOPATH/bin:\$GOROOT/bin:\$PATH\"" >> "${HOME}/.bashrc"

# ----------------------------------------------------------------------------------------------------------------------
# INSTALL NVM
# ----------------------------------------------------------------------------------------------------------------------

#
# ENV
#

ENV VERSION_NVM="0.39.7"
ENV URL_NVM="https://raw.githubusercontent.com/nvm-sh/nvm/v${VERSION_NVM}/install.sh"

#
# INSTALL
#

RUN curl -o- "${URL_NVM}" | bash

# ----------------------------------------------------------------------------------------------------------------------
# INSTALL PYENV
# ----------------------------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -346,7 +363,7 @@ RUN curl -fsSL https://pyenv.run | bash \
# ENV
#

ENV VERSION_CHECKOV="3.1.70"
ENV VERSION_CHECKOV="3.2.1"
ENV VERSION_POETRY="1.7.1"

#
Expand Down
5 changes: 5 additions & 0 deletions tests/unittest.bats
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@
[ "$status" -eq 0 ]
}

@test "nvm is installed" {
run ls ~/.nvm/nvm.sh
[ "$status" -eq 0 ]
}

@test "pyenv is installed" {
run which pyenv
[ "$status" -eq 0 ]
Expand Down

0 comments on commit 8b8da5d

Please sign in to comment.