File tree 3 files changed +19
-0
lines changed 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 9
9
### [ ` prebuild/linux-arm64 ` ] ( https://hub.docker.com/r/prebuild/linux-arm64 )
10
10
### [ ` prebuild/linux-armv7 ` ] ( https://hub.docker.com/r/prebuild/linux-armv7 )
11
11
### [ ` prebuild/alpine ` ] ( https://hub.docker.com/r/prebuild/alpine )
12
+ ### [ ` prebuild/centos7-devtoolset7 ` ] ( https://hub.docker.com/r/prebuild/centos7-devtoolset7 )
12
13
13
14
## License
14
15
Original file line number Diff line number Diff line change
1
+ FROM centos/devtoolset-7-toolchain-centos7
2
+
3
+ USER 0
4
+
5
+ RUN groupadd -g 1000 node && useradd -g 1000 -u 1000 -m node && \
6
+ groupadd -g 2000 travis && useradd -g 2000 -u 2000 -m travis
7
+
8
+ RUN curl -sL https://rpm.nodesource.com/setup_12.x | bash - && \
9
+ yum install -y nodejs
10
+
11
+ USER node
12
+
13
+ WORKDIR /opt/app-root
Original file line number Diff line number Diff line change
1
+ build :
2
+ docker build -t prebuild/centos7-devtoolset7 .
3
+
4
+ push :
5
+ docker push prebuild/centos7-devtoolset7
You can’t perform that action at this time.
0 commit comments