Skip to content

Commit baa110d

Browse files
authored
Remove environment variable XDG_CACHE_HOME (#2038)
- Fixes #2037
1 parent 406e397 commit baa110d

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

images/docker-stacks-foundation/start.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,6 @@ if [ "$(id -u)" == 0 ]; then
121121
done
122122
fi
123123

124-
# Update potentially outdated environment variables since the image build
125-
export XDG_CACHE_HOME="/home/${NB_USER}/.cache"
126-
127124
# Prepend ${CONDA_DIR}/bin to sudo secure_path
128125
sed -r "s#Defaults\s+secure_path\s*=\s*\"?([^\"]+)\"?#Defaults secure_path=\"${CONDA_DIR}/bin:\1\"#" /etc/sudoers | grep secure_path > /etc/sudoers.d/path
129126

images/scipy-notebook/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ RUN git clone https://github.com/PAIR-code/facets && \
7474
fix-permissions "${CONDA_DIR}" && \
7575
fix-permissions "/home/${NB_USER}"
7676

77-
# Import matplotlib the first time to build the font cache.
78-
ENV XDG_CACHE_HOME="/home/${NB_USER}/.cache/"
79-
8077
RUN MPLBACKEND=Agg python -c "import matplotlib.pyplot" && \
8178
fix-permissions "/home/${NB_USER}"
8279

0 commit comments

Comments
 (0)