forked from uPortal-Attic/uportal-app-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
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 uPortal-Attic#206 from UW-Madison-DoIT/codenvy-up-…
…n-running Get Codenvy Project Setup for angularjs-portal
- Loading branch information
Showing
9 changed files
with
140 additions
and
2 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"mixinTypes":[],"builders":{"configs":{},"default":"maven"},"runners":{"configs":{"project://Multinode-tc7-j7":{"ram":500,"variables":{"configurationType":"java"},"options":{}}},"default":"project://Multinode-tc7-j7"},"type":"maven","attributes":{"languageVersion":["1.6"],"language":["java"]},"description":"AngularJS alternative UI for MyUW portal (built for uPortal)."} |
60 changes: 60 additions & 0 deletions
60
.codenvy/runners/environments/ENV1-angularjs-portal/Dockerfile
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Base image. You can pull from Docker Hub. Codenvy | ||
# provides a series of tested base images that include | ||
# Web Shell, installed utilities, and language support. | ||
# You can browse our images in Docker Hub or at | ||
# github.com/codenvy/dockerfiles. The shellinabox image | ||
# provides core Linux utilities and terminal access to runner. | ||
FROM codenvy/shellinabox | ||
|
||
# Codenvy uses this port to map IDE clients to the output of | ||
# your application executing within the Runner. Set these | ||
# values to the port of your application and Codenvy will | ||
# map this port to the output within the browser, CLI, and API. | ||
# You can set this value multiple times. | ||
# For example: | ||
# ENV CODENVY_APP_PORT_8080_HTTP 8080 | ||
# | ||
# ENV CODENVY_APP_PORT_<port>_HTTP <port> | ||
|
||
# Codenvy uses this port to map IDE clients to the debugger | ||
# of your application within the Runner. Set these | ||
# values to the port of your debugger and Codenvy will | ||
# map this port to the debugger console in the browser. | ||
# You can set this value multiple times. | ||
# For example: | ||
# ENV CODENVY_APP_PORT_8000_DEBUG 8000 | ||
# | ||
# ENV CODENVY_APP_PORT_<port>_DEBUG <port> | ||
|
||
# Set this value to the port of any terminals operating | ||
# within your runner. If you inherit a base image from | ||
# codenvy/shellinabox (or any of our images that inherit | ||
# from it, you do not need to set this value. We already | ||
# set it for you. | ||
# ENV CODENVY_WEB_SHELL_PORT <port> | ||
|
||
# Execute your custom commands here. You can add | ||
# as many RUN commands as you want. Combining | ||
# RUN commands into a single entry will cause your | ||
# environment to load faster. Also, building your image | ||
# with docker offline and uploading it to Docker Hub | ||
# as a pre-built base image will also cause it to load | ||
# Faster. This example installs python, curl, and the | ||
# Google SDK as an example. | ||
# RUN sudo apt-get update -y && \\ | ||
# sudo apt-get install --no-install-recommends -y -q curl build-essential python3 python3-dev python-pip git python3-pip && \\ | ||
# sudo pip3 install -U pip && \\ | ||
# sudo pip3 install virtualenv && \\ | ||
# sudo mkdir /opt/googlesdk && \\ | ||
# wget -qO- \"https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz\" | sudo tar -zx -C /opt/googlesdk && \\ | ||
# sudo /bin/sh -c \"/opt/googlesdk/google-cloud-sdk/install.sh\" && \\ | ||
# sudo chmod +x /opt/googlesdk/google-cloud-sdk/bin/gcloud | ||
|
||
# Include this as the CMD instruction in your Dockerfile if | ||
# you'd like the runner to stay alive after your commands | ||
# have finished executing. Keeping the runner alive is | ||
# necessary if you'd like to terminal into the image. If | ||
# your Dockerfile launches a server or daemon, like Tomcat, | ||
# you do not need to set this value as Docker will not | ||
# terminate until that process has finished. | ||
CMD sleep 365d |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM codenvy/jdk7_tomcat7 | ||
|
||
$debug?EXPOSE 8000:$ | ||
$debug?ENV CODENVY_APP_PORT_8000_DEBUG 8000:$ | ||
$debug?CMD ./catalina.sh jpda run 2>&1:$ | ||
|
||
ENV CODENVY_APP_BIND_DIR /home/user/tomcat7/webapps | ||
VOLUME ["/home/user/tomcat7/webapps"] |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"mixinTypes":[],"builders":{"configs":{},"default":"maven"},"runners":{"configs":{}},"description":"Maven","type":"maven","attributes":{"languageVersion":["1.6"],"language":["java"]}} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"mixinTypes":[],"builders":{"configs":{},"default":"maven"},"runners":{"configs":{}},"description":"Maven","type":"maven","attributes":{"languageVersion":["1.6"],"language":["java"]}} |
61 changes: 61 additions & 0 deletions
61
angularjs-portal-home/.codenvy/runners/environments/run-tc/Dockerfile
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Base image. You can pull from Docker Hub. Codenvy | ||
# provides a series of tested base images that include | ||
# Web Shell, installed utilities, and language support. | ||
# You can browse our images in Docker Hub or at | ||
# github.com/codenvy/dockerfiles. The shellinabox image | ||
# provides core Linux utilities and terminal access to runner. | ||
FROM codenvy/shellinabox | ||
|
||
# Codenvy uses this port to map IDE clients to the output of | ||
# your application executing within the Runner. Set these | ||
# values to the port of your application and Codenvy will | ||
# map this port to the output within the browser, CLI, and API. | ||
# You can set this value multiple times. | ||
# For example: | ||
# ENV CODENVY_APP_PORT_8080_HTTP 8080 | ||
# | ||
# ENV CODENVY_APP_PORT_<port>_HTTP <port> | ||
|
||
# Codenvy uses this port to map IDE clients to the debugger | ||
# of your application within the Runner. Set these | ||
# values to the port of your debugger and Codenvy will | ||
# map this port to the debugger console in the browser. | ||
# You can set this value multiple times. | ||
# For example: | ||
# ENV CODENVY_APP_PORT_8000_DEBUG 8000 | ||
# | ||
# ENV CODENVY_APP_PORT_<port>_DEBUG <port> | ||
|
||
# Set this value to the port of any terminals operating | ||
# within your runner. If you inherit a base image from | ||
# codenvy/shellinabox (or any of our images that inherit | ||
# from it, you do not need to set this value. We already | ||
# set it for you. | ||
# ENV CODENVY_WEB_SHELL_PORT <port> | ||
|
||
# Execute your custom commands here. You can add | ||
# as many RUN commands as you want. Combining | ||
# RUN commands into a single entry will cause your | ||
# environment to load faster. Also, building your image | ||
# with docker offline and uploading it to Docker Hub | ||
# as a pre-built base image will also cause it to load | ||
# Faster. This example installs python, curl, and the | ||
# Google SDK as an example. | ||
# RUN sudo apt-get update -y && \ | ||
# sudo apt-get install --no-install-recommends -y -q curl build-essential python3 python3-dev python-pip git python3-pip && \ | ||
# sudo pip3 install -U pip && \ | ||
# sudo pip3 install virtualenv && \ | ||
# sudo mkdir /opt/googlesdk && \ | ||
# wget -qO- "https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz" | sudo tar -zx -C /opt/googlesdk && \ | ||
# sudo /bin/sh -c "/opt/googlesdk/google-cloud-sdk/install.sh" && \ | ||
# sudo chmod +x /opt/googlesdk/google-cloud-sdk/bin/gcloud | ||
|
||
|
||
# Include this as the CMD instruction in your Dockerfile if | ||
# you'd like the runner to stay alive after your commands | ||
# have finished executing. Keeping the runner alive is | ||
# necessary if you'd like to terminal into the image. If | ||
# your Dockerfile launches a server or daemon, like Tomcat, | ||
# you do not need to set this value as Docker will not | ||
# terminate until that process has finished. | ||
CMD sleep 365d |
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