diff --git a/test/docker/task.dockerfile b/test/docker/task.dockerfile index d858790..dee9603 100644 --- a/test/docker/task.dockerfile +++ b/test/docker/task.dockerfile @@ -28,7 +28,7 @@ ARG BRANCH FROM ubuntu:24.04 AS base -ENV DEBIAN_FRONTEND noninteractive +ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && \ apt-get install -y \ @@ -43,9 +43,9 @@ RUN apt-get update && \ uuid-dev # Setup language environment -ENV LC_ALL en_US.UTF-8 -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US.UTF-8 +ENV LC_ALL=en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US.UTF-8 # Setup Rust RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh && \ @@ -53,12 +53,12 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh && \ # Checkout Taskwarrior WORKDIR /root -# clone repo with submodels as we need corrosion +# clone repo with all submodules, as we need 'corrosion' RUN git clone --recurse-submodules https://github.com/GothenburgBitFactory/taskwarrior.git code WORKDIR code RUN git checkout ${BRANCH} -# remove libshared folder which is the submodel +# remove libshared submodule folder RUN rm -rf src/libshared FROM base AS builder diff --git a/test/docker/timew.dockerfile b/test/docker/timew.dockerfile index e0bd5f6..185db3e 100644 --- a/test/docker/timew.dockerfile +++ b/test/docker/timew.dockerfile @@ -28,7 +28,7 @@ ARG BRANCH FROM ubuntu:24.04 AS base -ENV DEBIAN_FRONTEND noninteractive +ENV DEBIAN_FRONTEND=noninteractive RUN ( apt-get update && yes | unminimize ) && \ apt-get install -y \ @@ -43,11 +43,11 @@ RUN ( apt-get update && yes | unminimize ) && \ tzdata # Setup language environment -ENV LC_ALL en_US.UTF-8 -ENV LANG en_US.UTF-8 -ENV LANGUAGE en_US.UTF-8 +ENV LC_ALL=en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US.UTF-8 -# Checkout Timewarrior +# Checkout Timewarrior (without libshared submodule) WORKDIR /root RUN git clone https://github.com/GothenburgBitFactory/timewarrior.git code WORKDIR code