shihjay2 / nosh2

NOSH ChartingSystem is an electronic health record system designed exclusively for doctors and patients. This is a new mobile-friendly version that is now based off of the Laravel PHP framework and jQuery. NOSH has FHIR, Bluebutton, ICD-10, GoodRX API, RXNorm API, Phaxio, and UMA support.
Other
74 stars 53 forks source link

Operation not permitted #160

Open azzok opened 3 years ago

azzok commented 3 years ago

While creating docker build using

docker build -t azzok/docker-nosh2-pub:v1.0 . I get the following error

make: /bin/sh: Operation not permitted make: *** [Makefile:192: ZendAccelerator.lo] Error 127

How to build docker image for nosh2, I was using the following method

  1. Create droplet with default Docker installed in digital ocean
  2. Install Docker composer using following commends

sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-uname -s-uname -m-o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

Then we’ll verify that the installation was successful by checking the version:

docker-compose --version

This will print out the version we installed:

Output docker-compose version 1.21.2, build a133471

  1. Clone repository

git clone https://github.com/shihjay2/nosh2 cd nosh2

  1. run build commend

docker build -t azzok/docker-nosh2-pub:v1.0 .

I get following error

make: /bin/sh: Operation not permitted make: *** [Makefile:192: ZendAccelerator.lo] Error 127 docker

Is any thing missing for above method. Can you help me to create docker build image for nosh2?

shihjay2 commented 3 years ago

Looks like you're using a very old version of docker-compose.
See here for the instructions to get the most updated version See here for already build Docker images for NOSH

azzok commented 3 years ago

I updated docker compose version 1.21.2 to 1.28.0

docker-compose version 1.28.0, build d02a7b1a

But still i am getting same Operation not permitted error

image

shihjay2 commented 3 years ago

Not sure if this is a NOSH issue specifically as I cannot replicate this problem with build the Docker image on Arch Linux or Ubuntu - confirm that the DigitalOcean droplet you're building this from has the correct permissions (I see that your terminal is using the root user in the screenshot but the docker command is in the noshuser home directory).

webeng101 commented 3 years ago

Same issue with my case? On Mac, Linux same case docker build . shows above error. I used recent versions.