This file contains hidden or 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
# Copyright (c) 2012-2016 Codenvy, S.A. | |
# All rights reserved. This program and the accompanying materials | |
# are made available under the terms of the Eclipse Public License v1.0 | |
# which accompanies this distribution, and is available at | |
# http://www.eclipse.org/legal/epl-v10.html | |
# Contributors: | |
# Codenvy, S.A. - initial API and implementation | |
FROM ubuntu | |
EXPOSE 4403 8000 8080 9876 22 |
This file contains hidden or 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
# Copyright (c) 2012-2016 Codenvy, S.A. | |
# All rights reserved. This program and the accompanying materials | |
# are made available under the terms of the Eclipse Public License v1.0 | |
# which accompanies this distribution, and is available at | |
# http://www.eclipse.org/legal/epl-v10.html | |
# Contributors: | |
# Codenvy, S.A. - initial API and implementation | |
FROM ubuntu | |
EXPOSE 4403 8000 8080 9876 22 |
This file contains hidden or 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
package main | |
/* | |
* websocket/pty proxy server: | |
* This program wires a websocket to a pty master. | |
* | |
* Usage: | |
* go build -o ws-pty-proxy server.go | |
* ./websocket-terminal -cmd /bin/bash -addr :9000 -static $HOME/src/websocket-terminal | |
* ./websocket-terminal -cmd /bin/bash -- -i |
This file contains hidden or 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
package main | |
/* | |
* websocket/pty proxy server: | |
* This program wires a websocket to a pty master. | |
* | |
* Usage: | |
* go build -o ws-pty-proxy server.go | |
* ./websocket-terminal -cmd /bin/bash -addr :9000 -static $HOME/src/websocket-terminal | |
* ./websocket-terminal -cmd /bin/bash -- -i |
This file contains hidden or 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
FROM codenvy/ubuntu_android:latest | |
ENV GRADLE_VERSION=2.3 | |
ENV GRADLE_HOME=/home/user/gradle-$GRADLE_VERSION | |
ENV PATH=$GRADLE_HOME/bin:$PATH | |
RUN wget -P /home/user/ --quiet https://services.gradle.org/distributions/gradle-$GRADLE_VERSION-bin.zip && \ | |
cd /home/user/ && unzip gradle-$GRADLE_VERSION-bin.zip && \ | |
rm gradle-$GRADLE_VERSION-bin.zip |
This file contains hidden or 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
FROM ubuntu:14.04 | |
ENV MAVEN_VERSION=3.3.9 \ | |
JAVA_VERSION=8u45 \ | |
JAVA_VERSION_PREFIX=1.8.0_45 | |
ENV JAVA_HOME=/opt/jdk$JAVA_VERSION_PREFIX \ | |
M2_HOME=/home/user/apache-maven-$MAVEN_VERSION | |
ENV TERM xterm |
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
"os" | |
"io/ioutil" | |
) | |
//todo Sync it's important!!!! file.Sync() | |
func main() { |
This file contains hidden or 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
#!/bin/bash | |
PATH_TO_CHE=${1} | |
if [ -z "${PATH_TO_CHE}" ]; then | |
echo "You should set up PATH to Eclipse CHE source code, like argument for this script." | |
exit 1; | |
fi | |
# Run Docker container to build Eclipse CHE. Source code will be mounted to the docker container (-v params). Inside container will be executed command: | |
# which goes to the mounted source code folder, build it with skip tests and skip sources validation to speed up. --rm flags means that container will be | |
# removed after build. | |
docker run --rm -v "${PATH_TO_CHE}":/che aandrienko/build-che bash -c "cd /che && mvn clean install -DskipTests -Dskip-validate-sources" |
This file contains hidden or 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
<cheatsheet title="CDI + JSF + EJB + JTA + Bean Validation + JAX-RS + Arquillian: Kitchensink quickstart"> | |
<intro> | |
<description> | |
This quickstart shows off all the new features of Java EE, and makes a great starting point for your project. | |
<br/><br/> | |
<b>Bean Validation</b> | |
<br/><br/> | |
Bean Validation is a new specification in Java EE, inspired by Hibernate Validator. It allows application developers to specify constraints once (often in their domain model), and have them applied in all layers of the application, protecting data and giving useful feedback to users. | |
<br/><br/> | |
<b>JAX-RS: The Java API for RESTful Web Services</b> |
This file contains hidden or 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
<cheatsheet title="CDI + JSF + EJB + JTA + Bean Validation + JAX-RS + Arquillian: Kitchensink quickstart"> | |
<intro> | |
<description> | |
</description> | |
</intro> | |
</cheatsheet> |