10 lines
312 B
Docker
10 lines
312 B
Docker
FROM alpine:latest
|
|
COPY . /opt
|
|
WORKDIR /opt/executor
|
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
|
RUN apk add --no-cache tzdata
|
|
ENV TZ=Asia/Shanghai
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
RUN chmod +x executor
|
|
ENTRYPOINT ["./executor"]
|