diff --git a/Dockerfile b/Dockerfile index 2adb674..67c303d 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,14 @@ -ARG BUILD_FROM +ARG BUILD_FROM=homeassistant/amd64-base:latest FROM $BUILD_FROM ENV LANG C.UTF-8 # Install requirements for add-on RUN apk --no-cache --no-progress upgrade && \ - apk --no-cache --no-progress add jq openvpn \ - rm -rf /tmp/* + apk --no-cache --no-progress add jq openvpn # Copy data for add-on COPY run.sh / RUN chmod a+x /run.sh -CMD [ "/run.sh" ] +ENTRYPOINT [ "/run.sh" ] diff --git a/config.json b/config.json index 08b0591..e8f1c2f 100755 --- a/config.json +++ b/config.json @@ -1,9 +1,8 @@ { - "name": "OpenVPN Client", - "version": "0.0.1", - "slug": "openvpn_client", - "description": "OpenVPN Client", - "url": "https://github.com/Ailme/homeassistant-openvpn-client-addon", + "name": "MyOpenVPN Client", + "version": "0.1.2", + "slug": "openvpn-client", + "description": "connect to home", "arch": ["armhf", "armv7", "aarch64", "amd64", "i386"], "startup": "application", "boot": "auto", diff --git a/repository.json b/repository.json deleted file mode 100644 index e6cdc99..0000000 --- a/repository.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "OpenVPN Client", - "url": "https://github.com/Ailme/homeassistant-openvpn-client", - "maintainer": "Alexandr Tumaykin " - } - \ No newline at end of file