Commit 41ccc765 authored by Ralf Baussenwein's avatar Ralf Baussenwein 🐞
Browse files

initial commit

parents
Pipeline #22552 passed with stage
in 1 minute and 8 seconds
.git
.idea
\ No newline at end of file
image: docker:stable
variables:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: "/certs"
stages:
- build
services:
- docker:stable:dind
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
build:
stage: build
script:
- docker build -t $CI_REGISTRY_IMAGE:latest .
- docker push $CI_REGISTRY_IMAGE:latest
- docker image rm $CI_REGISTRY_IMAGE:latest
tags:
- dind
- build
- docker
- linux
\ No newline at end of file
FROM php:7.4.4-alpine3.11
# Install packages
RUN apk update \
&& apk add --no-cache --virtual .persistent-deps \
openssh
# Install composer
COPY --from=composer /usr/bin/composer /usr/local/bin/composer
# Install deployer
RUN composer global require deployer/deployer:"dev-master as 6.7.x-dev"
RUN ln -s ~/.composer/vendor/bin/dep /usr/local/bin/dep
# Install deployer recipes
RUN composer global require deployer/recipes --dev
RUN composer global require eikona-media/deployer-recipes --dev
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment