lvs071103 commented on issue #301:
URL: https://github.com/apache/pulsar-manager/issues/301#issuecomment-647074040


   rebuild docker image issue solved:
   ```
   git clone https://github.com/apache/pulsar-manager
   cd pulsar-manager
   ./gradlew build -x test
   cd front-end
   npm install --save
   npm rebuild node-sass
   npm run build:prod
   cd ..
    docker build -f docker/Dockerfile --build-arg BUILD_DATE=`date -u 
+"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF='latest' --build-arg 
VERSION='latest' -t apachepulsar/pulsar-manager .
   ```
   
   enter container and run command:
   ```
   /pulsar-manager # apk add curl
   fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
   fetch 
http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
   (1/4) Installing nghttp2-libs (1.35.1-r2)
   (2/4) Installing libssh2 (1.9.0-r1)
   (3/4) Installing libcurl (7.64.0-r3)
   (4/4) Installing curl (7.64.0-r3)
   Executing busybox-1.29.3-r10.trigger
   OK: 162 MiB in 78 packages
   
   # curl -H "Content-Type: application/json" -X PUT 
http://172.17.0.2:7750/pulsar-manager/users/superuser  -d '{"name": "pulsar", 
"password": "pulsar", "
   description": "admin user", "email": "admin-u...@dominos.com.cn"}'
   {"message":"Add super user success, please login"}
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to