can't compile wine on 64 bit ubuntu

I have been trying to compile wine on Ubuntu 14.04 64-bit and I can't for the life of me figure out what package dependency I'm missing here. I followed along with the guide on winehq and was...

How to install php-redis extension using the official PHP Docker image approach?

I want to build my PHP-FPM image with php-redis extension based on the official PHP Docker image, for example, using this Dockerfile: php:5.6-fpm. The docs say that I can install extensions this...

Install node in Dockerfile?

I am user of AWS elastic beanstalk, and I have a little problem. I want to build my CSS files with less+node. But I don`t know how to install node in my dockerfile, when building with...

can't update php.ini file in Docker container

I'm trying to set Magento2 on Docker with Nginx & PHP7. I've added a custom php.ini file as recommended by the PHP7 Docker image. I can see from phpinfo.php that it's loading my php.ini file but...

Unable to use sudo commands within Docker, "bash: sudo: command not found" is displayed

I have installed TensorFlow using the following command docker run -it b.gcr.io/tensorflow/tensorflow:latest-devel and I need to set up TensorFlow Serving on a windows machine. I followed the...

How to use requirements.txt to install all dependencies in a python project

I am new to python. Recently I got a project written by python and it requires some installation. I run below command to install but got an error. # pip install requirements.txt Collecting...

TensorFlow won't detect GPU with custom docker image and python 3.6

(Posting here before submitting an issue to tensorflow as their issue template suggests) I'm trying to build a tensorflow docker image with python 3.6, I have the following Dockerfile FROM...

Troubles with Docker + PHP7 + GD resulting in "Call to undefined function imagecreatefromjpeg()"

I'm having troubles when trying to create an image using imagecreatefromjpeg using this Dockerfile to generate the container: FROM php:7.1-apache RUN apt-get update && \ apt-get install -y...

Docker-php-ext-install mcrypt missing folder

I try to install mcrypt in my docker image based on php:7.2-apache. Therefore I use the RUN-Command from the documentation and also answerd here but I receive this error: error:...

vendor folder is not present in my docker image

I'm trying to build a deployable image of my laravel app into docker. Here is my dockerfile: FROM php:7.1.14-fpm ENV node_version 8.4.0 ENV npm_version 5.7.1 RUN echo "deb...

Docker Call to undefined function imagecreatefromjpeg()

I try to install GD, because I'm getting the error "Call to undefined function imagecreatefromjpeg()". When building the image I'm getting the error E: Unable to locate package libfreetype6-dev E:...

Enable APCU CLI on docker php 7.3

I'm trying to enable apcu cli on my docker container in order to run my test. This is my docker file, I use : basic php image install composer install xdebug install more docker libs install...

how to merge Docker's layers of image and slim down the image file

docker image inspect <name> gives me 16GB and about 20 layers When I am logged as root, this du -hs / show me just 2GB FYI, there are already very multi-lines RUN commands in Dockerfile. can I...

How to compile FFmpeg as static (single file)

I would like to compile FFmpeg 4.1.3 as static or single file, After compiled. It's shared binary. Here is what I do Install the dependencies apt-get -y install build-essential autoconf automake...

Service 'app' failed to build: COPY failed Laravel with Docker

I'm setting up Docker for my laravel project following the blog post by DigitalOcean When I run the command docker-compose up -dfrom Step 8 from the blog post I get the following error: ERROR:...

Why won't Docker load Tidy?

I'm trying to use phpdocx in order to create a docx file from HTML in a laravel api application. In order to use this conversion tool, it is necessary to have Tidy installed. I've included tidy in...

ERROR creating Service web with unrecognized option '--with-freetype-dir=/usr/include/'

After reinstall of Kubuntu 18 I run my docker project with command to run my first project: docker-compose up -d --build and got long output (it worked more 1 hour I suppose) and errors at end...

'composer install' command fails on Docker giving 'SSL Operation Failed with code 1' error

I am on the Windows machine, with Docker running. Docker image is FROM php:7.3-apache. with System : Linux b6df004de9df 4.9.184-linuxkit #1 SMP Tue Jul 2 22:58:16 UTC 2019 x86_64 having Composer...

Docker: PhpMyAdmin has an upload limit of 2048KiB

i have a docker-compose.yml that looks like this: webserver: build: ./_docker/php ports: - 80:80 links: - mysql volumes_from: - app mysql: image: mysql:5.7 environment: ...

HMR not working with Laravel Mix in Docker

I am having some problems setting up Hot Module Reloading in Laravel Mix inside a Docker container. I have the following Dockerfile: FROM php:7.4.0-fpm RUN curl -sL...

Docker - Unable to load dynamic library 'gd2'

I don't understand how to install gd2 library with Docker on linux mint. This is my docker-compose file version: '3' services: web: build: ./web environment: -...

SAP Crystal Decisions integration does not work on Linux

We are building a web api that calls the SAP Crystal Decisions Library, to generate PDF reports. It works when running on our Windows 10 developer PCs, but when we deploy it inside a linux docker...

How can I install wkhtmltopdf (unpatched qt) in docker file?

I have installed wkhtmltopdf(patched qt)0.12.4 which gives error using with pdfkit. I want to install unpatched qt version as does't give me error in my localsetup my dockerfile : FROM...

Wordpress and Woocommerce installation with docker

Good morning, I'm trying to create an installation of wordpress with woocommerce already installed and active using docker-compose file with 2 containers, one with mysql taken from bitnami...

Building from Dockerfile and getting "The following signatures couldn't be verified because the public key is not available: NO_PUBKEY"

I'm trying to build a PHP 5.3/Apache for local use using a Dockerfile that starts: FROM php:5.3-apache RUN apt-get update && \ apt-get install -y \ libfreetype6-dev \ ...

Permission problem: How to setup permissions on docker for windows for use with Wordpress

The problem I'm trying to setup my developing environment using Docker for Windows for use with Wordpress. I'm using docker compose with a custom Dockerfile. This works perfectly on MacOS. Using...

COPY failing in docker-compose file

I am trying to install xdebug in PHP. During the build process when it gets to the COPY in the Dockerfile I get the following error message. ERROR: Service 'php' failed to build : COPY failed:...

NextJS + Laravel + NGinx + Docker: Cant call API in getServerSideProps

I have a backend API written in Laravel, a frontend app written in NextJS and these are containerized with Docker using NGinx. Here is my docker-compose.yml file: version: '3.9' services: #...

Permissions error in WordPress setup with Mariadb + NGINX and custom php-fpm Dockerfile

I'm trying to configure a WordPress installation based on docker-compose and with official docker images and a custom Dockerfile based image for the php-fpm part. The docker-compose is like...

Adding imagemagick into my php 7.4 docker raised error

I need to add imagemagick into my php 7.4 docker, so in file Dockerfile.yml I added : FROM php:7.4.1-apache RUN apt-get update && \ apt-get install -y \ python \ ...