Expected behavior
docker-compser build [application] should run without failures
Actual behavior
all my builds exit with an error like this:
Step 6 : WORKDIR [any path]
ERROR: compose.cli.main.main: Service ‘[any application]’ failed to build: cannot normalise nothing
Information
this happens since beta16. it was working with beta15
is there a way to downgrade to beta15 temporary?
Diagnostic ID: 9DEDB1BA-BB56-4461-91AC-DDCF609C83F2
This is my Dockerfile:
FROM php:7.0.7-cli
MAINTAINER example <info@example.com>
RUN apt-get update && apt-get install -y \
git \
htop \
less \
libfreetype6-dev \
libicu-dev \
libjpeg62-turbo-dev \
libmcrypt-dev \
libpng12-dev \
libxslt1-dev \
&& rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-configure \
gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
RUN docker-php-ext-install \
gd \
intl \
mbstring \
mcrypt \
opcache \
soap \
xsl \
zip
WORKDIR ${APP_DIR}
EXPOSE 8080
CMD php -S 0.0.0.0:8080 -t ${APP_DIR}/public ${APP_DIR}/public/index.php
This is my .env file:
APP_DIR=/mnt/payback-extint
APP_COMPOSER_HOME=/var/composer
This is my docker-compose.yaml file:
extint:
env_file: .env
build: build/docker/extint
volumes_from:
- extintdata
- composerdata
ports:
- 8003:8080
extintdata:
env_file: .env
image: tianon/true
volumes:
- ./src:${APP_DIR}
composerdata:
image: tianon/true
volumes:
- ~/.composer:${APP_COMPOSER_HOME}