-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More work towards fixing the selenium tests
- Loading branch information
1 parent
657475a
commit 8ee63bb
Showing
7 changed files
with
68 additions
and
58 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,2 @@ | ||
build/ | ||
dist/ | ||
notebooks*/ | ||
*/node_modules/ | ||
*.egg-info/ | ||
.eggs/ | ||
*.pyc | ||
.git/ | ||
* | ||
!Pipfile* |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,18 +5,30 @@ LABEL maintainer="RStudio Connect <[email protected]>" | |
ARG NB_UID | ||
ARG NB_GID | ||
ARG PY_VERSION | ||
RUN apt-get update -qq \ | ||
&& apt-get install -y make | ||
RUN apt-get update -qq && \ | ||
apt-get install -y make curl xz-utils git && \ | ||
curl -fsSL "https://nodejs.org/dist/v12.18.1/node-v12.18.1-linux-x64.tar.xz" | \ | ||
tar --strip-components=1 -C /usr/local -xJf - && \ | ||
npm install -g yarn | ||
|
||
RUN getent group ${NB_GID} || groupadd -g ${NB_GID} builder | ||
RUN useradd --password password \ | ||
--create-home \ | ||
--home-dir /home/builder \ | ||
--uid ${NB_UID} \ | ||
--gid ${NB_GID} \ | ||
builder | ||
|
||
RUN conda update conda | ||
builder && \ | ||
mkdir -p /rsconnect_jupyter && \ | ||
chown ${NB_UID}:${NB_GID} /rsconnect_jupyter | ||
|
||
USER ${NB_UID}:${NB_GID} | ||
RUN bash -c 'cd /home/builder \ | ||
&& conda create --yes --channel conda-forge --name py${PY_VERSION/./} python=${PY_VERSION} jupyter numpy matplotlib setuptools pip pipenv' | ||
WORKDIR /rsconnect_jupyter | ||
ENV WORKON_HOME=/home/builder \ | ||
PIPENV_DONT_LOAD_ENV=1 \ | ||
PIPENV_SHELL=/bin/bash \ | ||
PATH=/home/builder/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | ||
COPY Pipfile Pipfile | ||
COPY Pipfile.lock Pipfile.lock | ||
RUN python -m pip install -I -U pip pipenv && \ | ||
pipenv install --dev --python=/usr/local/bin/python && \ | ||
rm -vf Pipfile* |
This file contains 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
This file contains 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
This file contains 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
This file contains 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