Disable build cache (#45)

* disable docker build cache

* x

* x

* up

* x

* x
This commit is contained in:
2026-02-11 20:28:08 +01:00
committed by GitHub
parent e9a9de4ae2
commit 94a0e64894
4 changed files with 7 additions and 4 deletions
+3 -2
View File
@@ -1,10 +1,11 @@
# Use official Python image with uv pre-installed
FROM python:3.12.3-slim
FROM python:3.12.3-alpine
# Install uv (if not present)
RUN pip install uv
# Install git
RUN apt-get update && apt-get install -y git docker.io && rm -rf /var/lib/apt/lists/*
RUN apk update && apk upgrade
RUN apk add --no-cache git docker-cli
# Set workdir
WORKDIR /app
+1 -1
View File
@@ -191,7 +191,7 @@ class EnvironmentNamespace(Namespace):
environment_update_event.set()
if remote_sio is not None and remote_sio.connected:
if remote_sio and remote_sio is not None and remote_sio.connected:
remote_sio.emit('update', data, namespace='/ws/environment')
logger.info(f"Updated slave")
+2
View File
@@ -84,6 +84,8 @@ def create_pipeline(env: Environment) -> List[AbstractStep]:
"userLinks": {
"App": "https://brencher.rudolf.keenetic.link/",
"Status": "https://brencher.rudolf.keenetic.link/state",
"App100": "http://100.70.193.97:5002/",
"Status100": "http://100.70.193.97:5002/state",
}
})
+1 -1
View File
@@ -79,7 +79,7 @@ class DockerComposeBuild(AbstractStep[List[str]]):
pass
logger.info(f"Building image {image} from {build_ctx}")
client.images.build(path=build_ctx, tag=image)
client.images.build(path=build_ctx, tag=image, nocache=True, rm=True)
if self.publish:
logger.info(f"Pushing image {image}")