update dockerfile
This commit is contained in:
parent
714836408a
commit
b39fa3ec8e
|
@ -1,7 +1,7 @@
|
||||||
FROM golang:latest
|
FROM golang:latest
|
||||||
MAINTAINER Liang Ding <dl88250@gmail.com>
|
MAINTAINER Liang Ding <dl88250@gmail.com>
|
||||||
|
|
||||||
RUN useradd wide && mkdir -p /wide/gogogo/
|
RUN useradd wide && mkdir -p /wide/gogogo/ && chown -R wide:wide /wide
|
||||||
USER wide
|
USER wide
|
||||||
|
|
||||||
ENV GOROOT /usr/src/go
|
ENV GOROOT /usr/src/go
|
||||||
|
|
Loading…
Reference in New Issue