Coder Social home page Coder Social logo

Building Issues about provision HOT 6 CLOSED

dadoum avatar dadoum commented on July 17, 2024
Building Issues

from provision.

Comments (6)

hkfuertes avatar hkfuertes commented on July 17, 2024 1

Thank you very much for the quick reply πŸ˜„

from provision.

Dadoum avatar Dadoum commented on July 17, 2024

I think the ldc included is not enough up to date.

You can download one from the ldc repo, and an automation in typescript has been made there if you need to see how to fetch ldc2 correctly.

Or you can use the official install script from dlang.org instead of using apt:

curl -fsS https://dlang.org/install.sh | bash -s ldc

from provision.

hkfuertes avatar hkfuertes commented on July 17, 2024

I wanted to use debian lite as it was a small distro/image... but if I use ubuntu and apt everything works (for now) I will update when the build finish succesfully:

FROM ubuntu
# https://www.apkmirror.com/apk/apple/apple-music/apple-music-3-10-1-release/apple-music-3-10-1-android-apk-download/ (lib folder from inside the apk)

WORKDIR /app

RUN apt-get update && apt-get install -y ninja-build git build-essential wget libssl-dev dub libplist-dev curl cmake ldc pkg-config

RUN git clone https://github.com/Dadoum/Provision --recursive .
RUN mkdir build && cd build && cmake -G Ninja .. -DCMAKE_BUILD_TYPE=Release && ninja

COPY lib build/

from provision.

Dadoum avatar Dadoum commented on July 17, 2024

This one should work:

FROM debian:stable-slim
WORKDIR /app

RUN apt-get update && apt-get install -y git build-essential wget libssl-dev dub libplist-dev curl
RUN curl -fsS https://dlang.org/install.sh | bash -s ldc

RUN wget https://github.com/Kitware/CMake/releases/download/v3.24.0-rc4/cmake-3.24.0-rc4.tar.gz

RUN tar -zxvf cmake-3.24.0-rc4.tar.gz && \
    cd cmake-3.24.0-rc4 && ./bootstrap && make && make install

RUN git clone https://github.com/Dadoum/Provision --recursive
RUN cd Provision && mkdir build && cd build && pwd && ls -al .. && cmake .. /app/Provision -DCMAKE_BUILD_TYPE=Release && make

from provision.

Dadoum avatar Dadoum commented on July 17, 2024

edited because of a typo

from provision.

Dadoum avatar Dadoum commented on July 17, 2024

Thanks.
If this still doesn't work feel free to re-open the issue.

from provision.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.