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

Dreamfactory docker-compose build fails on arm64 #103

Open
MartinHannah opened this issue Jul 1, 2023 · 0 comments
Open

Dreamfactory docker-compose build fails on arm64 #103

MartinHannah opened this issue Jul 1, 2023 · 0 comments

Comments

@MartinHannah
Copy link

MartinHannah commented Jul 1, 2023

I am following the instructions from Docker hub but build fails in Ubuntu 22 installed on Rasp Pi or Orange Pi with the messages as follows;
mysql uses an image, skipping
example_data uses an image, skipping
redis uses an image, skipping
Building web
[+] Building 1.0s (7/12)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.29kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/dreamfactorysoftware/df-base-img:ubuntu-22 0.8s
=> [1/8] FROM docker.io/dreamfactorysoftware/df-base-img:ubuntu-22@sha256:47e8c4fc5bc9fb6a6855702a04ffad53bca75d0c0aa958104ca7b9839486a7aa 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 79B 0.0s
=> CACHED [2/8] COPY dreamfactory.conf /etc/nginx/sites-available/dreamfactory.conf 0.0s
=> ERROR [3/8] RUN git clone --branch master https://github.com/dreamfactorysoftware/dreamfactory.git /opt/dreamfactory 0.2s

[3/8] RUN git clone --branch master https://github.com/dreamfactorysoftware/dreamfactory.git /opt/dreamfactory:
#0 0.212 exec /bin/sh: exec format error


Dockerfile:9

7 | # Get DreamFactory
8 | ARG BRANCH=master
9 | >>> RUN git clone --branch $BRANCH https://github.com/dreamfactorysoftware/dreamfactory.git /opt/dreamfactory
10 |
11 | WORKDIR /opt/dreamfactory

ERROR: failed to solve: process "/bin/sh -c git clone --branch $BRANCH https://github.com/dreamfactorysoftware/dreamfactory.git /opt/dreamfactory" did not complete successfully: exit code: 1
ERROR: Service 'web' failed to build : Build failed

Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant