Skip to content

Commit ee9ad5e

Browse files
fix: Accept Anaconda ToS in Dockerfile to fix container build
1 parent 997b032 commit ee9ad5e

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.devcontainer/Dockerfile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,19 @@ RUN apt-get update && apt-get install -y \
2020
mysql-server \
2121
&& rm -rf /var/lib/apt/lists/*
2222

23-
# Download and install Miniconda
23+
# Download and install Miniconda
24+
# RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/miniconda.sh && \
25+
# /bin/bash /tmp/miniconda.sh -b -p /opt/conda && \
26+
# rm /tmp/miniconda.sh && \
27+
# conda clean --all -f -y && \
28+
# conda install -n base libarchive -c main --force-reinstall --solver classic
29+
30+
# Download and install Miniconda
2431
RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/miniconda.sh && \
2532
/bin/bash /tmp/miniconda.sh -b -p /opt/conda && \
2633
rm /tmp/miniconda.sh && \
34+
conda config --set auto_update_conda false && \
35+
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main && \
2736
conda clean --all -f -y && \
2837
conda install -n base libarchive -c main --force-reinstall --solver classic
2938

book/myst.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,19 @@ version: 1
33
project:
44
# id: 78d24bb1-c442-4ac3-9af6-0ba2578883ac
55
title: The DataJoint Book
6-
description: A thorough introduction to scientific database programming and data operations.
7-
# keywords: [DataJoint, DataOps, relational databases, SQL, Python]
6+
subtitle: Scientific Database Programming and Data Operations
7+
description: Scientific database programming and data operations.
8+
keywords: [DataJoint, DataOps, relational databases, SQL, Python]
89
authors: Dimitri Yatsenko
910
github: https://github.com/dimitri-yatsenko/datajoint-book
11+
1012
# use implicit table of contents
1113
# To autogenerate a Table of Contents, run "myst init --write-toc"
14+
1215
site:
1316
template: book-theme
1417
path_prefix: /datajoint-book
18+
1519
# options:
1620
# favicon: favicon.ico
1721
# logo: site_logo.png

0 commit comments

Comments
 (0)