Skip to content

Instantly share code, notes, and snippets.

Laurent Goderre LaurentGoderre

Block or report user

Report or block LaurentGoderre

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@LaurentGoderre
LaurentGoderre / Dockerfile
Created Mar 30, 2017 — forked from EnzoMartin/Dockerfile
Building & using Node Alpine docker image
View Dockerfile
# Runtime image
# Following https://github.com/nodejs/docker-node/blob/master/docs/BestPractices.md
FROM node:7.7-alpine
# Add tini
RUN apk add --no-cache tini
ENTRYPOINT ["/sbin/tini", "--"]
WORKDIR /usr/src/app/
View lmi.patch
diff --git a/71-607-x2017001-eng.htm b/71-607-x2017001-eng.htm
index e7fbe82..6f9799a 100644
--- a/71-607-x2017001-eng.htm
+++ b/71-607-x2017001-eng.htm
@@ -33,7 +33,7 @@
<!--#include virtual="/wet-boew4b/ssi/css.htm"-->
View Demo
sudo -E curl -L "https://github.com/docker/compose/releases/download/1.9.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
export http_proxy=[PROXY]
export https_proxy=$http_proxy
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$http_proxy
git clone https://github.com/LaurentGoderre/docker-demo.git
docker run hello-world
View docker-node-templates.diff
diff --git a/0.10/Dockerfile b/0.10/Dockerfile
index ff9b001..ac3f6f3 100644
--- a/0.10/Dockerfile
+++ b/0.10/Dockerfile
@@ -15,6 +15,7 @@ RUN set -ex \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
done
+ENV NPM_CONFIG_LOGLEVEL info
ENV NODE_VERSION 0.10.44
View getrelease.sh
export WET_VERSION=$1
mkdir $WET_VERSION && cd $WET_VERSION
mkdir wet-boew && curl -L https://github.com/wet-boew/wet-boew-cdn/archive/$WET_VERSION.tar.gz | tar -zx --strip-components 1 --directory=wet-boew
mkdir GCWeb && curl -L https://github.com/wet-boew/themes-cdn/archive/$WET_VERSION-gcweb.tar.gz | tar -zx --strip-components 1 --directory=GCWeb
mkdir theme-base && curl -L https://github.com/wet-boew/themes-cdn/archive/$WET_VERSION-theme-base.tar.gz | tar -zx --strip-components 1 --directory=theme-base
mkdir theme-gc-intranet && curl -L https://github.com/wet-boew/themes-cdn/archive/$WET_VERSION-theme-gc-intranet.tar.gz | tar -zx --strip-components 1 --directory=theme-gc-intranet
mkdir theme-gcwu-fegc && curl -L https://github.com/wet-boew/themes-cdn/archive/$WET_VERSION-theme-gcwu-fegc.tar.gz | tar -zx --strip-components 1 --directory=theme-gcwu-fegc
mkdir theme-ogpl && curl -L https://github.com/wet-boew/themes-cdn/archive/$WET_VERSION-theme-ogpl.tar.gz | tar -zx --strip-components 1 --directory=theme-o
@LaurentGoderre
LaurentGoderre / wet-nextsteps.md
Last active Aug 29, 2015
Web Experience Toolkit - Next Steps
View wet-nextsteps.md

Web Experience Toolkit - Next Steps

New Plugin Structure

Background

Currently in WET, there is a lot of duplication of code, particularly around plugin initialization and lifetime. Additionally, plugins are sealed in an anonymous scope to prevent conflicts but this approach makes it very difficult for implementers to override or customize plugins. To solve this problem, plugins need to switch to a more open architecture and duplicated code need to be regrouped and shared among plugins. This new structure also need a full unit test suite (see the Unit Testing section for more details). To acheive this goal, several options are available: Prototypal Inheritance (Native), Base2 Library, ES6 Classes w/ Google Traceur

Options

You can’t perform that action at this time.