Add EditorConfig and Codenvy Factory with a badge.
This commit is contained in:
parent
d35a8cef17
commit
1a61d46207
|
@ -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
|
|
@ -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
|
|
@ -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].
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue