Commit 407e84e4 authored by Noel Alonso's avatar Noel Alonso
Browse files

Añade configuración de construcción

parent ab1cfae3
Loading
Loading
Loading
Loading

.env

0 → 100644
+2 −0
Original line number Diff line number Diff line
OPENJDK_IMAGE_TAG=8u312-jdk-slim-bullseye
WGET_VERSION=1.21-1+b1
+4 −0
Original line number Diff line number Diff line
@@ -7,3 +7,7 @@ stages:
  - pre-package
  - package
  - post-package

.docker-build:
  variables:
    COMPOSE_FILE_NAME: docker-compose.yml
+2 −2
Original line number Diff line number Diff line
ARG IMAGE_TAG=8u312-jdk-slim-bullseye
FROM openjdk:${IMAGE_TAG}
ARG OPENJDK_IMAGE_TAG=8u312-jdk-slim-bullseye
FROM openjdk:${OPENJDK_IMAGE_TAG}

LABEL maintainer="info@redmic.es"

docker-compose.yml

0 → 100644
+11 −0
Original line number Diff line number Diff line
version: '3.5'

services:
  maven:
    image: ${IMAGE_NAME:-registry.gitlab.com/redmic-project/docker/redmic-server}:${IMAGE_TAG:-latest}
    build:
      context: .
      dockerfile: ${DOCKERFILE:-Dockerfile}
      args:
        OPENJDK_IMAGE_TAG:
        WGET_VERSION: