Skip to content

Commit

Permalink
diweddaru i 20.12 (a gwella Makefile/Dockerfile voicebuild)
Browse files Browse the repository at this point in the history
  • Loading branch information
DewiBrynJones committed Dec 16, 2020
1 parent f571da7 commit 849e7af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
default: build

MARYTTS_CY_VERSION := 20.10
MARYTTS_CY_VERSION := 20.12

build:
if [ ! -d "marytts" ]; then \
Expand Down
3 changes: 2 additions & 1 deletion voicebuilder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM techiaith/marytts:20.10
ARG BUILDARG_MARYTTS_CY_VERSION
FROM techiaith/marytts:${BUILDARG_MARYTTS_CY_VERSION}

RUN apt-get update \
&& curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash \
Expand Down
4 changes: 2 additions & 2 deletions voicebuilder/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
default: build

MARYTTS_CY_VERSION := 20.10
MARYTTS_CY_VERSION := 20.12
BANGORDICT_BRANCH := 'master'

# --- MaryTTS voice building environment ------------------------------------------------------
Expand All @@ -10,7 +10,7 @@ build: inject_dockerfile_with_uid_gid
else \
cd ../marytts/marytts-languages/marytts-lang-cy/lib/modules/cy/lexicon/geiriadur-ynganu-bangor && git pull && git checkout ${BANGORDICT_BRANCH}; \
fi
docker build --rm -t techiaith/marytts-voicebuild:${MARYTTS_CY_VERSION} .
docker build --rm --build-arg BUILDARG_MARYTTS_CY_VERSION=${MARYTTS_CY_VERSION} -t techiaith/marytts-voicebuild:${MARYTTS_CY_VERSION} .

inject_dockerfile_with_uid_gid:
./scripts/inject_uid_gid_into_dockerfile.sh
Expand Down

0 comments on commit 849e7af

Please sign in to comment.