Browse Source

Add EditorConfig and Codenvy Factory with a badge.

Werner Beroux 8 years ago
parent
commit
1a61d46207
4 changed files with 22 additions and 1 deletions
  1. 7 0
      .codenvy.dockerfile
  2. 12 0
      .editorconfig
  3. 2 0
      README.md
  4. 1 1
      entrypoint.sh

+ 7 - 0
.codenvy.dockerfile

@@ -0,0 +1,7 @@
+FROM codenvy/ubuntu_jdk8
+
+# Install Ngrok
+ADD https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip /ngrok.zip
+RUN set -x \
+ && unzip -o ngrok.zip -d /bin \
+ && rm -f /ngrok.zip

+ 12 - 0
.editorconfig

@@ -0,0 +1,12 @@
+# top-most EditorConfig file
+root = true
+
+[*]
+charset = utf-8
+indent_size = 4
+indent_style = space
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.{sh}]
+indent_size = 4

+ 2 - 0
README.md

@@ -1,3 +1,5 @@
+[![Codenvy badge](http://beta.codenvy.com/factory/resources/codenvy-contribute.svg)](http://beta.codenvy.com/f?url=https://github.com/wernight/docker-ngrok 'Start development on Codenvy')
+
 A [Docker][docker] image for [ngrok][ngrok] v2, introspected tunnels to localhost.
 It's based on the excellent work of [wizardapps/ngrok][wizardapps/ngrok] and [fnichol/ngrok][fnichol/ngrok].
 

+ 1 - 1
entrypoint.sh

@@ -26,7 +26,7 @@ elif [ -n "$NGROK_SUBDOMAIN" ] && [ -n "$NGROK_AUTH" ]; then
   ARGS="$ARGS -subdomain=$NGROK_SUBDOMAIN "
 elif [ -n "$NGROK_HOSTNAME" ] || [ -n "$NGROK_SUBDOMAIN" ]; then
   if [ -z "$NGROK_AUTH" ]; then
-        echo "You must specify an authentication token after registering at https://ngrok.com to use custom domains."
+    echo "You must specify an authentication token after registering at https://ngrok.com to use custom domains."
     exit 1
   fi
 fi