Docker Use ubuntu:devel as intermediate builder image, since it provides the most up to date software
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Build the build base environment
|
# Build the build base environment
|
||||||
FROM ubuntu:rolling AS base
|
FROM ubuntu:devel AS base
|
||||||
RUN set -ex && \
|
RUN set -ex && \
|
||||||
cd / && \
|
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 && \
|
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 && \
|
||||||
|
|||||||
Reference in New Issue
Block a user