Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clang to the installed dependencies. #38

Closed
wants to merge 1 commit into from
Closed
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
7 changes: 3 additions & 4 deletions {{ cookiecutter.format }}/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,17 @@ RUN groupadd --non-unique --gid $HOST_GID briefcase && \
# As root, Install system packages required by app
ARG SYSTEM_REQUIRES
{% if cookiecutter.vendor_base == "debian" -%}
RUN apt-get install --no-install-recommends -y build-essential ${SYSTEM_REQUIRES}
RUN apt-get install --no-install-recommends -y build-essential clang ${SYSTEM_REQUIRES}
{%- else -%}
RUN yum install -y gcc make pkgconfig ${SYSTEM_REQUIRES}
RUN yum install -y gcc clang make pkgconfig ${SYSTEM_REQUIRES}
{%- endif %}

{% if cookiecutter.use_non_root_user -%}
# Use the brutus user for operations in the container
USER brutus
{%- endif %}

# Configure builds so that clang isn't required, and put the Standalone Python on the build path
ENV CC="gcc -pthread"
# Put the Standalone Python on the build path
ENV PATH="/app/{{ cookiecutter.formal_name }}.AppDir/usr/python/bin:${PATH}"

# ========== START USER PROVIDED CONTENT ==========
Expand Down