Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions test/docker/task.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -43,22 +43,22 @@ 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 && \
sh rustup.sh -y --profile minimal --default-toolchain stable --component rust-docs

# 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
Expand Down
10 changes: 5 additions & 5 deletions test/docker/timew.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
Expand Down