This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
Torrion
/
arbitry
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
test
master
komarov
4 years ago
parent
256b46b5bd
commit
a66301956c
6 changed files
with
57 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+32
-0
.drone.yml
+1
-0
.gitignore
+0
-0
docker-compose.yaml
+5
-0
docker/php-fpm/Dockerfile
+14
-0
docker/php/Dockerfile
+5
-0
project/test.php
+ 32
- 0
.drone.yml
View File
@@ -0,0 +1,32 @@
kind: pipeline
type: docker
name: build
steps:
- name: build_php_base
image: plugins/docker
settings:
dockerfile: docker/php/Dockerfile
registry: localhost
repo: arbitry_php_base
dry_run: true
insecure: true
build_args:
PHP_VERSION: 7.4.4
- name: build_php_fpm
image: plugins/docker
settings:
dockerfile: docker/php-fpm/Dockerfile
registry: localhost
repo: arbitry_php_fpm
dry_run: true
insecure: true
build_args:
PHP_VERSION: 7.4.4
BUILD_IMAGE: arbitry_php_base
depends_on:
- build_php_base
trigger:
status:
- success
+ 1
- 0
.gitignore
View File
@@ -0,0 +1 @@
.idea
+ 0
- 0
docker-compose.yaml
View File
+ 5
- 0
docker/php-fpm/Dockerfile
View File
@@ -0,0 +1,5 @@
ARG PHP_VERSION=7.4.4
ARG BUILD_IMAGE
FROM php:$PHP_VERSION-fpm-alpine
FROM $BUILD_IMAGE:latest as build
+ 14
- 0
docker/php/Dockerfile
View File
@@ -0,0 +1,14 @@
ARG PHP_VERSION=7.4.4
FROM php:$PHP_VERSION-alpine
RUN echo "date.timezone = UTC" > /usr/local/etc/php/conf.d/etc.ini
ENV TERM xterm
RUN apk add --update --no-cache \
libcurl \
bash \
curl
RUN docker-php-ext-install bcmath
COPY ./project /projects/main
+ 5
- 0
project/test.php
View File
@@ -0,0 +1,5 @@
<?php
declare(strict_types=1);
phpinfo();
Write
Preview
Loading…
Cancel
Save