We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b15ff65 commit cc549f1Copy full SHA for cc549f1
Dockerfile
@@ -1,8 +1,8 @@
1
-FROM node:14-alpine as stage-web-build
+FROM node:14.18.1 as stage-web-build
2
3
LABEL stage=stage-web-build
4
5
-RUN apk add make python gcc g++
+RUN apt-get install -y make python gcc g++
6
7
WORKDIR /build/kubepi/web
8
@@ -12,7 +12,6 @@ RUN make build_web
12
13
RUN rm -fr web
14
15
-
16
FROM golang:1.16 as stage-bin-build
17
18
ENV GOPROXY="https://goproxy.cn,direct"
@@ -27,7 +26,6 @@ WORKDIR /build/kubepi/bin
27
26
28
COPY --from=stage-web-build /build/kubepi/web .
29
30
31
RUN go mod download
32
33
RUN make build_gotty
@@ -56,7 +54,6 @@ RUN ARCH=$(uname -m) && case $ARCH in aarch64) ARCH="arm64";; x86_64) ARCH="amd6
56
54
57
55
COPY vimrc.local /etc/vim
58
59
60
EXPOSE 80
61
62
USER root
0 commit comments