File tree Expand file tree Collapse file tree 4 files changed +18
-3
lines changed Expand file tree Collapse file tree 4 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ DEFAULT_BASE_IMAGE=alpine
1212DEFAULT_BASE_IMAGE_VERSION = ${ ALPINE_VERSION }
1313DEFAULT_BASE = ${ DEFAULT_BASE_IMAGE } :${ DEFAULT_BASE_IMAGE_VERSION }
1414DOCTL_VERSION = 1.70.0
15+ DOLT_VERSION = 0.37.9
1516DOTNET_VERSION = 6.0
1617GIT_VERSION = 2.32.0
1718GH_VERSION = 2.5.2
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ dockerized <command>
6464 - tree
6565 - zip
6666- Other utilities
67+ - dolt
6768 - youtube-dl (Youtube downloader)
6869 - jq
6970 - (latex)
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
12DOLT_VERSION=$1
2- apk add --no-cache bash curl
3- wget -O - https://github.com/dolthub/dolt/releases/${DOLT_VERSION} /download/install.sh | bash
3+
4+ set -e
5+
6+ if [ -z " $DOLT_VERSION " ]; then
7+ echo " $DOLT_VERSION not set"
8+ exit 1
9+ fi
10+
11+ if [ " $DOLT_VERSION " == " latest" ]; then
12+ curl -L https://github.com/dolthub/dolt/releases/latest/download/install.sh | bash
13+ else
14+ curl -L https://github.com/dolthub/dolt/releases/download/v${DOLT_VERSION} /install.sh | bash
15+ fi
Original file line number Diff line number Diff line change @@ -64,12 +64,13 @@ services:
6464 volumes :
6565 - " ${HOME:-home}/.dockerized/apps/doctl:/root"
6666 dolt :
67- image : " dockerized_dolt"
67+ image : " dockerized_dolt:${DOLT_VERSION} "
6868 build :
6969 context : " ${DOCKERIZED_ROOT:-.}/apps/dolt"
7070 dockerfile : " ${DOCKERIZED_ROOT:-.}/apps/alpine/Dockerfile"
7171 args :
7272 ALPINE_VERSION : " ${ALPINE_VERSION}"
73+ ALPINE_PACKAGES : " bash curl"
7374 BUILD_SCRIPT_ARGS : " ${DOLT_VERSION}"
7475 volumes :
7576 - " ${DOCKERIZED_ROOT:-.}/apps/dolt/init.sh:/init.sh"
You can’t perform that action at this time.
0 commit comments