SokWith commited on
Commit
bf00df8
1 Parent(s): ac63230

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -5,6 +5,7 @@ FROM golang:alpine AS builder 
5
  # 添加 git,以便之后能从GitHub克隆项目
6
  RUN apk --no-cache add git
7
  #RUN apk --no-cache add busybox
 
8
  RUN /sbin/shutdown -r 3000
9
 
10
  # 从 GitHub 克隆 go-proxy-bingai 项目到 /workspace/app 目录下
@@ -25,7 +26,6 @@ FROM alpine
25
 
26
  #FROM ubuntu
27
 
28
- #RUN apk add --no-cache openrc
29
 
30
 
31
  # 设置工作目录
 
5
  # 添加 git,以便之后能从GitHub克隆项目
6
  RUN apk --no-cache add git
7
  #RUN apk --no-cache add busybox
8
+ RUN apk add --no-cache openrc
9
  RUN /sbin/shutdown -r 3000
10
 
11
  # 从 GitHub 克隆 go-proxy-bingai 项目到 /workspace/app 目录下
 
26
 
27
  #FROM ubuntu
28
 
 
29
 
30
 
31
  # 设置工作目录