Skip to content

Instantly share code, notes, and snippets.

@jamesonwilliams
jamesonwilliams / Dockerfile
Created December 8, 2023 06:48
Magenta 2.14.0 Dockerfile
FROM tensorflow/tensorflow:2.9.1
LABEL description="Magenta 2.14.0 on Tensorflow 2.9.1"
USER root
RUN apt-get update --fix-missing && \
apt-get -y install expect build-essential libasound2-dev libjack-dev git-core ffmpeg vim
ENV MC_REMOTE="https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh"
ENV MC_LOCAL="/tmp/miniconda-install.sh"
ENV CONDA_PATH="/root/miniconda3"
#!/bin/bash
# Print a message and kill the script.
die() {
echo "$@" 1>&2
exit 1
}
# Finds the top of the repo.
find_git_repo_top() {