From 1a097fd369d3e411c733ea93a698e3ba75797df4 Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Mon, 26 Feb 2024 12:40:55 +0100 Subject: [PATCH] Check commands for errors --- Dockerfile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6a33cf5..65b3405 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,17 +8,17 @@ FROM debian:12-slim MAINTAINER Colin Finck LABEL Description="Debian with CeGCC 9.3.0 (ENLYZE version for ARM and i386) and Git" -RUN apt update; \ +RUN apt update && \ DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends bison build-essential ca-certificates flex git libgmp-dev libmpc-dev libmpfr-dev texinfo -RUN git clone --depth 1 --recursive https://github.com/enlyze/cegcc-build; \ - cd cegcc-build; \ - ./build_cf.sh /opt/cegcc-arm arm-mingw32ce; \ - cd ..; \ +RUN git clone --depth 1 --recursive https://github.com/enlyze/cegcc-build && \ + cd cegcc-build && \ + ./build_cf.sh /opt/cegcc-arm arm-mingw32ce && \ + cd .. && \ rm -rf cegcc-build -RUN git clone --depth 1 --recursive https://github.com/enlyze/cegcc-build; \ - cd cegcc-build; \ - ./build_cf.sh /opt/cegcc-i386 i386-mingw32ce; \ - cd ..; \ +RUN git clone --depth 1 --recursive https://github.com/enlyze/cegcc-build && \ + cd cegcc-build && \ + ./build_cf.sh /opt/cegcc-i386 i386-mingw32ce && \ + cd .. && \ rm -rf cegcc-build