Skip to content

Commit

Permalink
Merge pull request #116 from ccb-hms/develop
Browse files Browse the repository at this point in the history
fix version number env variable and data collection date env variable
  • Loading branch information
nathan-palmer authored Nov 8, 2023
2 parents 8e8f120 + 2943008 commit 7198979
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,8 @@ RUN chmod -R 777 /usr/local/lib/R/library
RUN chmod -R 777 /usr/local/lib/R/doc/html/packages.html

# Declare which version of the container this is, and make it available inside the container
ENV EPICONDUCTOR_CONTAINER_VERSION v0.1.1
ENV EPICONDUCTOR_COLLECTION_DATE 2023-11-01
ENV EPICONDUCTOR_CONTAINER_VERSION v0.1.2
ENV EPICONDUCTOR_COLLECTION_DATE 2023-11-07

RUN echo "EPICONDUCTOR_CONTAINER_VERSION=$EPICONDUCTOR_CONTAINER_VERSION" >> /usr/local/lib/R/etc/Renviron.site
RUN echo "EPICONDUCTOR_COLLECTION_DATE=$EPICONDUCTOR_COLLECTION_DATE" >> /usr/local/lib/R/etc/Renviron.site
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The [Testing/Code](https://github.com/ccb-hms/NHANES/tree/main/Testing/Code) fol
* `containerBuildTests.R` contains all tests completed at build time.

## Running the image
An image with a pre-built database can be run as follows: (for other versions, see the [Dockerhub repository](https://hub.docker.com/r/hmsccb/nhanes-workbench/tags) and use the desired tag. The current release is hmsccb/nhanes-workbench:version-0.1.1):
An image with the current pre-built database can be run as follows:

```
docker \
Expand All @@ -36,9 +36,11 @@ docker \
-e 'CONTAINER_USER_PASSWORD=PASSWORD' \
-e 'ACCEPT_EULA=Y' \
-e 'SA_PASSWORD=yourStrong(!)Password' \
hmsccb/nhanes-workbench:latest
hmsccb/nhanes-workbench:version-0.1.2
```

For other versions, see the [Dockerhub repository](https://hub.docker.com/r/hmsccb/nhanes-workbench/tags) and use the desired tag.

### Parameters

`LOCAL_DIRECTORY` is a directory on the host that you would like mounted at /HostData in the container. Can be omitted.
Expand Down

0 comments on commit 7198979

Please sign in to comment.