Last active
October 1, 2023 07:42
-
-
Save cyanide-burnout/5142de436d258aa834a203107c92ae93 to your computer and use it in GitHub Desktop.
Tableau WDC 3.0 taco-toolkit in Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:bullseye-slim | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update | |
RUN apt-get install -y ca-certificates curl gnupg python3 build-essential | |
RUN mkdir -p /etc/apt/keyrings | |
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg | |
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list | |
RUN apt-get update | |
RUN apt-get install -y nodejs | |
RUN curl -O https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.deb | |
RUN apt-get install -y ./jdk-21_linux-x64_bin.deb | |
RUN npm install -g @tableau/[email protected] | |
RUN taco -V --accept-eula | |
ENTRYPOINT ["/usr/bin/env", "--chdir=/mnt", "/bin/bash", "-c"] | |
CMD ["taco build && taco pack"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Build image:
docker build --no-cache -f taco-toolkit.dockerfile -t <image name>:latest .
Build .taco package:
docker run -it --volume=$(pwd):/mnt <image name>:latest
Create taco project:
docker run -it --volume=$(pwd):/mnt <image name>:latest "taco create <project name> --boilerplate earthquake-data"