Skip to content

Instantly share code, notes, and snippets.

View slemeur's full-sized avatar

Stévan Le Meur slemeur

View GitHub Profile
@slemeur
slemeur / docker-exo-jdk7
Created October 17, 2014 10:01
docker-exo-jdk7
# Dockerizing base image for eXo Platform with:
#
# - Libre Office
# - eXo Platform Community
# Build: docker build -t exoplatform/ubuntu-jdk7-exo:plf-4.1-rc1 .
#
# Run: docker run -t -i -name="exo" exoplatform/ubuntu-jdk7-exo:plf-4.1-rc1
# docker run -d -name="exo" exoplatform/ubuntu-jdk7-exo:plf-4.1-rc1
# docker run -d -name="exo" -p 8080:8080 exoplatform/ubuntu-jdk7-exo:plf-4.1-rc1
@slemeur
slemeur / tomcat8-dockerfile
Created October 17, 2014 17:26
Codenvy - Tomcat8 - Dockerfile
#Reuse codenvy/jdk7 existing image
FROM codenvy/jdk7
#Get Tomcat-8.0.14 and install it
RUN mkdir /home/user/tomcat8 && \
wget -qO- "http://mirrors.ircam.fr/pub/apache/tomcat/tomcat-8/v8.0.14/bin/apache-tomcat-8.0.14.tar.gz" | tar -zx --strip-components=1 -C /home/user/tomcat8 && \
rm -rf /home/user/tomcat8/webapps/*
#Exposing ports
EXPOSE 8080
@slemeur
slemeur / docker-tomcat8
Last active August 29, 2015 14:09
Tomcat-V8.0.14
#Reuse codenvy/jdk7 existing image
FROM codenvy/jdk7
#Get Tomcat-8.0.14 and install it
RUN mkdir /home/user/tomcat8 && \
wget -qO- "http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.14/bin/apache-tomcat-8.0.14.tar.gz" | tar -zx --strip-components=1 -C /home/user/tomcat8 && \
rm -rf /home/user/tomcat8/webapps/*
#Exposing ports
EXPOSE 8080
@slemeur
slemeur / codenvy-contribute.svg
Last active August 29, 2015 14:15
contribute
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@slemeur
slemeur / toto.json
Last active August 29, 2015 14:17
test stev
{
"project":{
"name":"getting-started-guided-tour",
"visibility":"public",
"builders":{
"default":"maven"
},
"mixinTypes": [
"GuidedTour"
],
@slemeur
slemeur / welcome-guided-tour.json
Last active August 29, 2015 14:17
guided tour
{
"name" : "Codenvy Getting Started Guided Tour v1.3",
"hasWelcomeStep" : true,
"steps": [
{
"title": "Getting Started with Codenvy",
"content": "Codenvy is a no-thrashing cloud IDE with horizontally-scallable Docker builder and runner microservices.\n\nThis tour takes 3 minutes.",
"element": "gwt-debug-MainToolbar/New",
"placement": "BOTTOM",
"xOffset": "500",
{
"steps": [
{
"title": "<b>Nuxeo Platform</b> Project Template",
"content": "Welcome in the <b>Nuxeo</b> Codenvy Template. We have instantiated for you a project template. When you build it, it produces a jar that can be deployed on a <b>Nuxeo Platform</b> instance. You can use Codenvy to implement the custom java logic that you would not be able to design and configure using <b>Nuxeo Studio</b>, the configuration environment.<ul><li>[https://connect.nuxeo.com/register/#/ Nuxeo Studio Trial]</li><li>[http://doc.nuxeo.com/x/CBU5AQ Getting Started]</li><li>[http://doc.nuxeo.com/x/EIAV Nuxeo Studio Documentation]</li></ul>",
"element": "gwt-debug-projectExplorerTree-panel",
"placement": "LEFT",
"width" : "250",
"xOffset": "270",
"yOffset": "70",
@slemeur
slemeur / test-tomee.json
Last active August 29, 2015 14:20
test-tomee
{
"hasWelcomeStep" : true,
"steps": [
{
"title": "Getting Started with TomEE and Codenvy",
"content": "Apache TomEE (pronounced \"Tommy\") is an all-Apache Java EE 6 Web profile certified stack built on Apache Tomcat. Discover how to get started with TomEE, using our JAX-RS/Angular starter project. This fork-and-go project is a great starting point for your own JAX-RS application.\n\nDiscover Apache TomEE in Codenvy, the world's most advanced cloud IDE. Modify the code for this project, build it, run it and share it from within your browser.\n\nThis tour will guide you through editing and running the JAX-RS sample in Codenvy.\n\nIt will take 3 minutes to complete.\n\nIf you need help contact us on our [http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html Users Forum]. This temporary workspace will destroy your work if you become idle. [https://codenvy.com/site/create-account Sign up for a free account] to save your work.",
"element": "gwt-debug-MainToolbar/New",
@slemeur
slemeur / celeb.txt
Created May 7, 2015 16:02
environment for celeb-chat
FROM codenvy/shellinabox
RUN sudo apt-get update && sudo apt-get -y install nodejs-legacy npm
ENV CODENVY_APP_PORT_3000_HTTP 3000
EXPOSE 3000
VOLUME ["/home/user/app"]
ENV CODENVY_APP_BIND_DIR /home/user/app
CMD cd /home/user/app && \
npm install && \
node server.js
@slemeur
slemeur / vaadin
Created October 27, 2015 13:55
vaadin runtime
FROM codenvy/shellinabox
RUN sudo apt-get update && sudo apt-get install git -y
LABEL che:server:8080:ref=tomcat8 che:server:8080:protocol=http che:server:8000:ref=tomcat8-debug che:server:8000:protocol=http che:server:4200:ref=shellinabox che:server:4200:protocol=http
#Install JDK 8
RUN wget \
--no-cookies \
--no-check-certificate \
--header "Cookie: oraclelicense=accept-securebackup-cookie" \
-qO- \