Git Product home page Git Product logo

docker-ihccaptain's Issues

Build script fails

Thanks for your work!

However, was going to update my local image which I run on a RPI 4. The latest on docker hub can't run on arm, so I need to build it.

This is the build output:

$ sudo ./build.sh
+ . env.sh
++ set -ex
++ USERNAME=arberg
++ IMAGE=ihccaptain
+++ cat VERSION
++ VERSION=1.48-arm
+++ dirname ./build.sh
++ cd .
++ pwd -P
+ BASE_DIR=/home/pirate/ihccaptain/source/1.48
+ chmod 755 /home/pirate/ihccaptain/source/1.48/host/run_ihc_captain_in_docker.sh
+ [[ '' = \-\-\n\o\-\c\a\c\h\e ]]
+ echo '########### Building using build-cache ###########'
########### Building using build-cache ###########
+ docker build -t arberg/ihccaptain:latest .
Sending build context to Docker daemon  240.6kB
Step 1/14 : FROM ubuntu:18.04
 ---> 154a1aa86195
Step 2/14 : RUN apt-get update && apt-get install -y cron
 ---> Using cache
 ---> f4ce8689e14f
Step 3/14 : RUN apt-get update && apt-get install -y software-properties-common
 ---> Using cache
 ---> 0ecba4462d8e
Step 4/14 : RUN	apt-add-repository -y ppa:ondrej/php
 ---> Using cache
 ---> e650f8427700
Step 5/14 : COPY VERSION .
 ---> Using cache
 ---> 1b2fb354ef44
Step 6/14 : COPY host/.bash_aliases /root
 ---> Using cache
 ---> 772397fbba3e
Step 7/14 : ADD http://jemi.dk/ihc/files/install /tmp/install
Downloading [==================================================>]  33.37kB/33.37kB
 ---> Using cache
 ---> 8e6147e9efac
Step 8/14 : RUN chmod 755 /tmp/install
 ---> Using cache
 ---> 1f7e4199c1cc
Step 9/14 : RUN ["/bin/bash", "-c", "/tmp/install docker"]
 ---> Running in f7dd03dae091
IHC Captain custom installer for Docker...






\u25BA\u25BA\u25BA IHC Captain

Starter installationen - vent venligst, det kan tage lang tid...

Opdatering af software arkiv...
[  OK  ] Opdatering af software arkiv
Installere ekstra programmer...
[  OK  ] Installere ekstra programmer
Installere webserver, nginx...
[  OK  ] Installere webserver, nginx
Installere PHP 7.3...
[  OK  ] Installere PHP 7.3
Oprydning af software arkiv...
[  OK  ] Oprydning af software arkiv
Fjerner gamle programmer...
[  OK  ] Fjerner gamle programmer
[  OK  ] Tilføjer root brugeren til www-data gruppen
[  OK  ] Opretter mappen /opt/ihccaptain
[  OK  ] Henter IHC Captain(ihccaptain.tar.gz)
[  OK  ] Udpakker IHC Captain
Unable to find PHP Socket fatal error


The command '/bin/bash -c /tmp/install docker' returned a non-zero code: 1

Does it tell anything towards troubleshooting the problem?

I running HypriotOS v1.11.4 - https://github.com/hypriot/image-builder-rpi/releases/tag/v1.11.4
It's not the latest (v1.12.3).

Let me know if there's anything I can do to debug the failed build.
Thanks

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.