Docker automate in Jenkinsfile (fix 6)
BOT_open_sesam/pipeline/head There was a failure building this commit
Details
BOT_open_sesam/pipeline/head There was a failure building this commit
Details
parent
8f8b5d18d1
commit
dc021f6802
|
|
@ -1,5 +1,8 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { dockerfile true }
|
agent {
|
||||||
|
image "python:3.11-slim-bookworm"
|
||||||
|
args "-v /var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
}
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
REGISTRY_URL = "https://proxy.docker.dataekb.ru/harbor/projects/3/repositories"
|
REGISTRY_URL = "https://proxy.docker.dataekb.ru/harbor/projects/3/repositories"
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,9 @@
|
||||||
FROM docker:dind
|
FROM python:3.11-slim-bookworm
|
||||||
# FROM python:3.11-slim-bookworm
|
|
||||||
|
|
||||||
WORKDIR /bot/open_sesam
|
WORKDIR /bot/open_sesam
|
||||||
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN apk add --no-cache docker-compose python3 py3-pip && pip install --upgrade pip && pip install -r requirements.txt
|
RUN pip install --upgrade pip && pip install -r requirements.txt
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue