Skip to content

Commit 5851ba2

Browse files
feat(command): add dolt
1 parent 13bf11c commit 5851ba2

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

apps/dolt/build.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
DOLT_VERSION=$1
2+
apk add --no-cache bash curl
3+
wget -O - https://github.com/dolthub/dolt/releases/${DOLT_VERSION}/download/install.sh | bash

docker-compose.yml

+12
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,18 @@ services:
6363
entrypoint: [ "doctl" ]
6464
volumes:
6565
- "${HOME:-home}/.dockerized/apps/doctl:/root"
66+
dolt:
67+
image: "dockerized_dolt"
68+
build:
69+
context: "${DOCKERIZED_ROOT:-.}/apps/dolt"
70+
dockerfile: "${DOCKERIZED_ROOT:-.}/apps/alpine/Dockerfile"
71+
args:
72+
ALPINE_VERSION: "${ALPINE_VERSION}"
73+
BUILD_SCRIPT_ARGS: "${DOLT_VERSION}"
74+
volumes:
75+
- "${DOCKERIZED_ROOT:-.}/apps/dolt/init.sh:/init.sh"
76+
- "${HOME:-home}/.dockerized/apps/dolt:/root"
77+
entrypoint: [ "dolt" ]
6678
dotnet:
6779
image: "mcr.microsoft.com/dotnet/sdk:${DOTNET_VERSION}-alpine"
6880
entrypoint: [ "dotnet" ]

0 commit comments

Comments
 (0)