Skip to content

Commit

Permalink
add args to builder
Browse files Browse the repository at this point in the history
  • Loading branch information
plowsof committed Sep 24, 2024
1 parent f60f295 commit 07a7be3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Dockerfile.linux
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Stage 1: Downloader
FROM ubuntu:16.04@sha256:1f1a2d56de1d604801a9671f301190704c25d604a416f59e03c04f5c6ffee0d6 as downloader

ARG THREADS=1
ARG THREADS=3
ARG QT_VERSION=v5.15.14-lts-lgpl

ENV CFLAGS="-fPIC"
Expand All @@ -21,7 +21,7 @@ RUN /bin/bash -c "source shared_functions.sh && get_debs_downloader && download_
# Stage 2: Git Cloner
FROM ubuntu:16.04@sha256:1f1a2d56de1d604801a9671f301190704c25d604a416f59e03c04f5c6ffee0d6 as gitcloner

ARG THREADS=1
ARG THREADS=3
ARG QT_VERSION=v5.15.14-lts-lgpl

ENV CFLAGS="-fPIC"
Expand All @@ -40,6 +40,13 @@ RUN /bin/bash -c "source shared_functions.sh && clone_git_repos"
# Stage 3: Builder
FROM ubuntu:16.04@sha256:1f1a2d56de1d604801a9671f301190704c25d604a416f59e03c04f5c6ffee0d6 as builder

ARG THREADS=3
ARG QT_VERSION=v5.15.14-lts-lgpl

ENV CFLAGS="-fPIC"
ENV CPPFLAGS="-fPIC"
ENV CXXFLAGS="-fPIC"

WORKDIR /sources

# Copy sources from downloader and gitcloner stages
Expand Down

0 comments on commit 07a7be3

Please sign in to comment.