-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #343 from NREL/deploy-fix
cleanup deploy script
- Loading branch information
Showing
4 changed files
with
10 additions
and
5 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 |
---|---|---|
|
@@ -20,5 +20,6 @@ rubocop-results.xml | |
server-data | ||
worker-data | ||
|
||
|
||
# ignore files with ~ at end | ||
*~ |
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,8 +5,6 @@ | |
|
||
FROM nrel/openstudio:2.5.0 | ||
MAINTAINER Nicholas Long [email protected] | ||
ARG rails_env=docker | ||
ARG bundle_args="--without development test" | ||
|
||
# Install required libaries | ||
RUN sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 && \ | ||
|
@@ -71,6 +69,10 @@ ENV OPENSTUDIO_SERVER 'true' | |
ENV OS_RAYPATH /usr/Radiance | ||
ENV PERL_EXE_PATH /usr/bin | ||
|
||
# Specify a couple arguments here, after running the majority of the installation above | ||
ARG rails_env=docker | ||
ARG bundle_args="--without development test" | ||
|
||
# Set the rails env var | ||
ENV RAILS_ENV $rails_env | ||
ENV GECKODRIVER_VERSION v0.15.0 | ||
|
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