You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 21, 2025. It is now read-only.
We could provide default runtime Dockerfiles in the build tasks. For example, we could provide the following Dockerfile in ods-build-go:
FROM alpine
COPY app app
EXPOSE 8080
CMD ["./app"]
This file would be copied into the workspace if docker/Dockerfile does not already exist.
The background of this idea is that many applications do not actually need to modify the Dockerfile, so we do not need to require users to provide one in the first place. This would reduce the setup effort. As a further benefit, we would be able to provide updates to the Dockerfile within the same lifecycle as the tasks, ensuring everything is up-to-date and aligned.
In theory, this concept could also be expanded to other aspects, such as sonar-project.properties or even Helm charts.