更新Dockerfile
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
FROM 192.168.0.19:9010/eclipse-temurin:8-jre
|
FROM 192.168.0.19:9010/eclipse-temurin:8-jre
|
||||||
|
|
||||||
ENV TZ=Asia/Shanghai
|
ENV TZ=Asia/Shanghai
|
||||||
RUN sed -i 's|http://archive.ubuntu.com|http://mirrors.aliyun.com|g; \
|
RUN find /etc/apt -name "*.list" -o -name "*.sources" | \
|
||||||
s|http://security.ubuntu.com|http://mirrors.aliyun.com|g' \
|
xargs sed -i \
|
||||||
/etc/apt/sources.list && \
|
's|http://archive.ubuntu.com|http://mirrors.aliyun.com|g; \
|
||||||
|
s|http://security.ubuntu.com|http://mirrors.aliyun.com|g' && \
|
||||||
apt-get update && apt-get install -y --no-install-recommends wget tzdata && \
|
apt-get update && apt-get install -y --no-install-recommends wget tzdata && \
|
||||||
wget -q "https://github.com/aptible/supercronic/releases/download/v0.2.29/supercronic-linux-amd64" \
|
wget -q "https://github.com/aptible/supercronic/releases/download/v0.2.29/supercronic-linux-amd64" \
|
||||||
-O /usr/local/bin/supercronic && \
|
-O /usr/local/bin/supercronic && \
|
||||||
|
|||||||
Reference in New Issue
Block a user