Docker Use ubuntu:devel as intermediate builder image, since it provides the most up to date software

This commit is contained in:
NI
2022-05-20 10:25:37 +08:00
parent 2340636c94
commit 899a4ecf56

View File

@@ -1,5 +1,5 @@
# Build the build base environment
FROM ubuntu:rolling AS base
FROM ubuntu:devel AS base
RUN set -ex && \
cd / && \
echo '#!/bin/sh' > /try.sh && echo 'res=0; for i in $(seq 0 36); do $@; res=$?; [ $res -eq 0 ] && exit $res || sleep 10; done; exit $res' >> /try.sh && chmod +x /try.sh && \