-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
Good First IssueThis issue would be a good issue for a first time contributor to undertake.This issue would be a good issue for a first time contributor to undertake.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.triagedIssue has been triagedIssue has been triaged
Description
Feature request description
podman version 5.5.2
Hello,
Working with quadlet found, if I setup the structure of the project like this:
app.py
avatar_user.jpg
container/{.containerignore,containerfile}
.env
.git
.gitignore
oauth2.py
pg_websocket.py
requirements.txt
users.json
and use this .build:
[Unit] Description=Build image for APP
[Build]
ImageTag=localhost/app:latest
ForceRM=true
SetWorkingDirectory=%h/app
File=container/containerfile
[Install]
WantedBy=default.target
It will ignore the .containerignore from the folder container.
It will be good have a param like IgnoreFile or ContainerIgnore.
Using PodmanArgs, I will get: unknown flag: --ignorefile container/.containerignore
Suggest potential solution
Add ContainerIgnore or IgnoreFile, to podman quadlet .build template
Have you considered any alternatives?
adding PodmanArgs="--ignorefile container/.containerignore", will fail with unknown flag: --ignorefile container/.containerignore
Additional context
No response
Metadata
Metadata
Assignees
Labels
Good First IssueThis issue would be a good issue for a first time contributor to undertake.This issue would be a good issue for a first time contributor to undertake.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.triagedIssue has been triagedIssue has been triaged