From 5302e73cb269d4a0050b0f558b225d42e76e5e09 Mon Sep 17 00:00:00 2001 From: lcgkm Date: Wed, 19 Jul 2017 15:06:02 +0800 Subject: [PATCH 1/3] Upgrade base image to node:8.1.4-alpine --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 338adfb..99e1c22 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:7-alpine +FROM node:8.1.4-alpine MAINTAINER Vault-UI Contributors @@ -7,7 +7,9 @@ COPY . . RUN yarn install --pure-lockfile --silent && \ yarn run build-web && \ - npm prune --silent --production && \ + yarn install --silent --production && \ + yarn check --verify-tree --production && \ + yarn global add nodemon && \ yarn cache clean && \ rm -f /root/.electron/* From 10f453378e5bc42dc82d934b3015c212c4bdb706 Mon Sep 17 00:00:00 2001 From: lcgkm Date: Fri, 21 Jul 2017 14:56:24 +0800 Subject: [PATCH 2/3] fix invalid github endpoint var name --- app/components/Authentication/Github/Github.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/Authentication/Github/Github.jsx b/app/components/Authentication/Github/Github.jsx index 10c03e3..1324a8d 100644 --- a/app/components/Authentication/Github/Github.jsx +++ b/app/components/Authentication/Github/Github.jsx @@ -535,7 +535,7 @@ export default class GithubAuthBackend extends React.Component { floatingLabelText='GitHub endpoint' fullWidth={true} floatingLabelFixed={true} - value={this.state.newConfig.endpoint} + value={this.state.newConfig.base_url} onChange={(e) => { this.setState({ newConfig: update(this.state.newConfig, { endpoint: { $set: e.target.value } }) }); }} @@ -564,4 +564,4 @@ export default class GithubAuthBackend extends React.Component { ); } -} \ No newline at end of file +} From 2d7d16f4851dd0f9812c2addcd3bc6ad488a8de2 Mon Sep 17 00:00:00 2001 From: lcgkm Date: Thu, 27 Jul 2017 14:52:08 +0800 Subject: [PATCH 3/3] Update Github.jsx --- app/components/Authentication/Github/Github.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/Authentication/Github/Github.jsx b/app/components/Authentication/Github/Github.jsx index 1324a8d..54c0107 100644 --- a/app/components/Authentication/Github/Github.jsx +++ b/app/components/Authentication/Github/Github.jsx @@ -537,7 +537,7 @@ export default class GithubAuthBackend extends React.Component { floatingLabelFixed={true} value={this.state.newConfig.base_url} onChange={(e) => { - this.setState({ newConfig: update(this.state.newConfig, { endpoint: { $set: e.target.value } }) }); + this.setState({ newConfig: update(this.state.newConfig, { base_url: { $set: e.target.value } }) }); }} />