Skip to content

Instantly share code, notes, and snippets.


Laurent Goderre LaurentGoderre

View GitHub Profile
LaurentGoderre / Dockerfile
Created March 30, 2017 12:28 — forked from EnzoMartin/Dockerfile
Building & using Node Alpine docker image
View Dockerfile
# Runtime image
# Following
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"-->
LaurentGoderre / Temp
Last active January 24, 2017 16:04
Lightbox Patch
View Demo
sudo -E curl -L "$(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
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 --recv-keys "$key"; \
export WET_VERSION=$1
mkdir wet-boew && curl -L$WET_VERSION.tar.gz | tar -zx --strip-components 1 --directory=wet-boew
mkdir GCWeb && curl -L$WET_VERSION-gcweb.tar.gz | tar -zx --strip-components 1 --directory=GCWeb
mkdir theme-base && curl -L$WET_VERSION-theme-base.tar.gz | tar -zx --strip-components 1 --directory=theme-base
mkdir theme-gc-intranet && curl -L$WET_VERSION-theme-gc-intranet.tar.gz | tar -zx --strip-components 1 --directory=theme-gc-intranet
mkdir theme-gcwu-fegc && curl -L$WET_VERSION-theme-gcwu-fegc.tar.gz | tar -zx --strip-components 1 --directory=theme-gcwu-fegc
mkdir theme-ogpl && curl -L$WET_VERSION-theme-ogpl.tar.gz | tar -zx --strip-components 1 --directory=theme-o
LaurentGoderre /
Last active August 29, 2015 14:06
Web Experience Toolkit - Next Steps

Web Experience Toolkit - Next Steps

New Plugin Structure


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