Skip to content

Commit

Permalink
実行環境追加
Browse files Browse the repository at this point in the history
  • Loading branch information
mapserver2007 committed Jul 25, 2020
1 parent a341708 commit 83205c5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM php:7.4-cli
LABEL maintainer Ryuichi Tanaka <mapserver2007@gmail.com>

RUN apt-get update && apt-get install -y \
git

RUN pecl install xdebug-2.9.6 && \
docker-php-ext-enable xdebug

RUN rm -rf /var/lib/apt/lists/* && rm -rf /tmp/pear && rm -rf /tmp/* && \
apt-get clean -y && apt-get autoclean -y

WORKDIR /workspace
15 changes: 15 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: '3'
services:
webstream-framework-container:
build: ./
image: webstream-framework/container
container_name: webstream-framework-container
volumes:
- ./:/workspace
working_dir: /workspace
tty: true
networks:
- webstream_framework
networks:
webstream_framework:
external: true

0 comments on commit 83205c5

Please sign in to comment.