Changes the STATA Xpra environment to use a full XFCE4 desktop
Adds support for install.do for package installation at build time via ssc install or net install. These packages are installed to the SITE sysdir (i.e., shared/network install dir)
Packages installed interactively will be ephemerally installed in ~. (Note: Even if desirable, we can't support direct install to the workspace directory since STATA uses link() which is not supported by WebDav)
ls /usr/local/stata/ado/site/l
latab.ado latab.hlp latabstat.ado latabstat.hlp
Install a package interactively:
stata do test.do
...
. ssc install outreg2
checking outreg2 consistency and verifying not already installed...
installing into /home/jovyan/ado/plus/...
installation complete.
...
ls ~/ado/plus/o/
Confirm outreg2 is installed in the PLUS sysdir.
To test on Staging
My gwvolman and repo2docker_wholetale images have been deployed to staging.
Fixes https://github.com/whole-tale/whole-tale/issues/102 and https://github.com/whole-tale/repo2docker_wholetale/issues/25
Depends on/related to:
This PR:
install.do
for package installation at build time viassc install
ornet install
. These packages are installed to the SITE sysdir (i.e., shared/network install dir)~
. (Note: Even if desirable, we can't support direct install to the workspace directory since STATA useslink()
which is not supported by WebDav)To test locally
Clone https://github.com/whole-tale/repo2docker/pull/4 and
pip install -e .
Clone this repo and
pip install -e .
Encode STATA license to pass as build arg (this is done in https://github.com/whole-tale/gwvolman/pull/154):
Build the image using the example config:
You should see the following where the
latab
package is installed successfully to/usr/local/stata/ado/site
Run the image
Confirm
latab
is indeed installedInstall a package interactively:
Confirm outreg2 is installed in the PLUS sysdir.
To test on Staging My gwvolman and repo2docker_wholetale images have been deployed to staging.
install.do
file in workspace with linessc install latab
/usr/local/stata/ado/site/
ssc install outreg2
. Confirm files are installed to~/ado/plus