From 978419c3b6799b4a79a69929dc7fbfe151f7d4d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89lo=C3=AFs?= <elois@ifee.fr>
Date: Thu, 21 Dec 2017 14:00:21 +0000
Subject: [PATCH] Add new file

---
 Dockerfile | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 Dockerfile

diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..0eee230
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,26 @@
+FROM library/ubuntu:17.10
+MAINTAINER elois <elois@ifee.fr>
+
+ENV DEBIAN_FRONTEND noninteractive
+ENV CUSTOM_VAR_ENV value
+
+RUN apt-get update; \
+   apt-get install -y build-essential curl python-pip
+   
+# Cargo
+RUN curl -sSf https://static.rust-lang.org/rustup.sh | sh
+
+RUN useradd --create-home -s /bin/bash user
+WORKDIR /home/user
+ENV HOME /home/user
+ENV USER user
+
+# External scripts
+ADD . /home/user
+#RUN chmod +x external_script.sh
+
+# Now act as `user`
+USER user
+
+# Install NodeJS
+RUN ./external_script.sh $CUSTOM_VAR_ENV
-- 
GitLab