mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-03 16:17:19 +02:00
Update base image to ubuntu 24.04
- Replace legacy key-value for environment variables - Remove unnecessary '.' from 'cmake -S . -B build -DCMAKE_BUILD_TYPE=Release .' because '-S' already specifies source directory
This commit is contained in:
parent
bba38b00f8
commit
17afcbd9c7
1 changed files with 6 additions and 6 deletions
|
@ -1,8 +1,8 @@
|
|||
FROM ubuntu:22.04 AS base
|
||||
FROM ubuntu:24.04 AS base
|
||||
|
||||
FROM base AS builder
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
|
@ -14,9 +14,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
|
||||
|
||||
# Add source directory
|
||||
ADD .. /root/code/
|
||||
|
@ -30,7 +30,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh && \
|
|||
RUN git clean -dfx && \
|
||||
git submodule init && \
|
||||
git submodule update && \
|
||||
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release . && \
|
||||
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release && \
|
||||
cmake --build build -j 8
|
||||
|
||||
FROM base AS runner
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue