לא ניתן לבנות מחדש, clang-11 חסר

Hooks:

## This is to make discourse-chatbot work correctly - 9pfs
## See https://meta.discourse.org/t/discourse-chatbot-now-smarter-than-chatgpt/256652/382?u=hello-smile6 for more info.
    - exec:
        cd: $home
        cmd:
          - sudo apt-get install wget ca-certificates
    - exec:
        cd: $home
        cmd:
          - wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
    - exec:
        cd: $home
        cmd:
          - sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
    - exec:
        cd: $home
        cmd:
          - apt-get update
    - exec:
        cd: $home
        cmd:
          - apt-get -y install -y postgresql-server-dev-13
    - exec:
        cd: $home/tmp
        cmd:
          - git clone https://github.com/neondatabase/pg_embedding.git
    - exec:
        cd: $home/tmp/pg_embedding
        cmd:
          - make PG_CONFIG=/usr/lib/postgresql/13/bin/pg_config
    - exec:
        cd: $home/tmp/pg_embedding
        cmd:
          - make PG_CONFIG=/usr/lib/postgresql/13/bin/pg_config install
    - exec:
        cd: $home
        cmd:
          - su postgres -c 'psql discourse -c "create extension if not exists embedding;"'

Plugins:

          - git clone https://github.com/discourse/docker_manager.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-automation.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-calendar.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-templates.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-assign.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-user-notes.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-data-explorer.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-topic-voting.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-ai.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-login-with-amazon.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-linkedin-auth.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-microsoft-auth.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-docs.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-github.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-solved.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-cakeday.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-reactions.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-gamification.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-affiliate.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-apple-auth.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-akismet.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-rss-polling.git
          #- sudo -E -u discourse git clone https://github.com/discourse/discourse-subscriptions.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-yearly-review.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-math.git
          #- sudo -E -u discourse git clone https://github.com/discourse/discourse-patreon.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-activity-pub.git
          #- git clone https://github.com/discourse/discourse-templates.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-whos-online.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-shared-edits.git
          #- sudo -E -u discourse git clone https://github.com/discourse/discourse-animated-avatars.git

After commands:

  - exec: echo "Beginning of custom commands"
  ## If you want to set the 'From' email address for your first registration, uncomment and change:
  ## After getting the first signup email, re-comment the line. It only needs to run once.
  #- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'"
  - replace:
     filename: "/etc/nginx/conf.d/discourse.conf"
     from: /listen 80;/
     to: |
       listen 80;
       set_real_ip_from 192.168.1.0/16;
  - replace:
     filename: "/etc/nginx/conf.d/discourse.conf"
     from: /listen 443 ssl http2;/
     to: |
       listen 443 ssl http2;
       set_real_ip_from 192.168.1.0/16;
  - exec: echo "End of custom commands"