Tring a new way to organize the dockerfiles
Some checks failed
gitea/evodocker/pipeline/head There was a failure building this commit
Some checks failed
gitea/evodocker/pipeline/head There was a failure building this commit
This commit is contained in:
parent
4ea3469f5d
commit
e612a5d921
10
.Jenkinsfile
10
.Jenkinsfile
|
@ -123,7 +123,7 @@ pipeline {
|
|||
stage('Build apache2-php (Bullseye)') {
|
||||
steps {
|
||||
script {
|
||||
def deb = docker.build("evolix/apache2-php:deb11build${env.BUILD_ID}", "-f apache2-php/bullseye/Dockerfile .")
|
||||
def deb = docker.build("evolix/apache2-php:deb11build${env.BUILD_ID}", "./apache2-php/bullseye")
|
||||
deb.inside {
|
||||
sh 'echo Test needed'
|
||||
}
|
||||
|
@ -137,7 +137,7 @@ pipeline {
|
|||
stage('Build apache2-php (Bookworm)') {
|
||||
steps {
|
||||
script {
|
||||
def deb = docker.build("evolix/apache2-php:deb12build${env.BUILD_ID}", "-f apache2-php/bookworm/Dockerfile .")
|
||||
def deb = docker.build("evolix/apache2-php:deb12build${env.BUILD_ID}", "./apache2-php/bookworm")
|
||||
deb.inside {
|
||||
sh 'echo Test needed'
|
||||
}
|
||||
|
@ -145,7 +145,13 @@ pipeline {
|
|||
deb.push('bookworm')
|
||||
deb.push('latest')
|
||||
}
|
||||
docker.withRegistry('https://gitea.evolix.org/evolix', '709e37a1-d02e-4c4d-90d6-3bcdf74096d2') {
|
||||
deb.push('bookworm')
|
||||
deb.push('latest')
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -22,8 +22,8 @@ RUN apt-get update \
|
|||
ca-certificates \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY apache2-php/bookworm/apache-evolinux-defaults.conf /etc/apache2/conf-available
|
||||
COPY apache2-php/bookworm/php-evolinux-defaults.ini /etc/php/8.2/apache2/conf.d
|
||||
COPY apache-evolinux-defaults.conf /etc/apache2/conf-available
|
||||
COPY php-evolinux-defaults.ini /etc/php/8.2/apache2/conf.d
|
||||
|
||||
RUN a2enconf apache-evolinux-defaults
|
||||
RUN a2enmod rewrite remoteip headers
|
||||
|
|
|
@ -22,8 +22,8 @@ RUN apt-get update \
|
|||
ca-certificates \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY apache2-php/bullseye/apache-evolinux-defaults.conf /etc/apache2/conf-available
|
||||
COPY apache2-php/bullseye/php-evolinux-defaults.ini /etc/php/7.4/apache2/conf.d
|
||||
COPY apache-evolinux-defaults.conf /etc/apache2/conf-available
|
||||
COPY php-evolinux-defaults.ini /etc/php/7.4/apache2/conf.d
|
||||
|
||||
RUN a2enconf apache-evolinux-defaults
|
||||
RUN a2enmod rewrite remoteip headers
|
||||
|
|
Loading…
Reference in a new issue