mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-26 06:30:29 +01:00
19 lines
387 B
Docker
19 lines
387 B
Docker
FROM composer:latest as setup
|
|
|
|
RUN mkdir /guzzle
|
|
|
|
WORKDIR /guzzle
|
|
|
|
RUN set -xe \
|
|
&& composer init --name=guzzlehttp/test --description="Simple project for testing Guzzle scripts" --author="Márk Sági-Kazár <mark.sagikazar@gmail.com>" --no-interaction \
|
|
&& composer require guzzlehttp/guzzle
|
|
|
|
|
|
FROM php:7.3
|
|
|
|
RUN mkdir /guzzle
|
|
|
|
WORKDIR /guzzle
|
|
|
|
COPY --from=setup /guzzle /guzzle
|