Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jib docker image working directory changed #23899

Closed
RuggeroDAlo opened this issue Feb 23, 2022 · 2 comments · Fixed by #23907
Closed

Jib docker image working directory changed #23899

RuggeroDAlo opened this issue Feb 23, 2022 · 2 comments · Fixed by #23907
Labels
area/container-image area/housekeeping Issue type for generalized tasks not related to bugs or enhancements
Milestone

Comments

@RuggeroDAlo
Copy link
Contributor

Description

I understand that due to #23670 the default working directory for jib has changed from /work/ to /home/jboss.

Mounting configmaps in /work/config/application.yaml (when running the built container in k8s) no longer works, I've had to change the path to /home/jboss/config/application.yaml.

Is there a way to configure the working directory?

Also maybe a note could be added to the migration guide https://github.com/quarkusio/quarkus/wiki/Migration-Guide-2.7 ?

Implementation ideas

No response

@RuggeroDAlo RuggeroDAlo added the area/housekeeping Issue type for generalized tasks not related to bugs or enhancements label Feb 23, 2022
@quarkus-bot
Copy link

quarkus-bot bot commented Feb 23, 2022

/cc @geoand

@geoand
Copy link
Contributor

geoand commented Feb 23, 2022

Also maybe a note could be added to the migration guide https://github.com/quarkusio/quarkus/wiki/Migration-Guide-2.7 ?

Good point, added.

Is there a way to configure the working directory?

I'll add it.

geoand added a commit to geoand/quarkus that referenced this issue Feb 23, 2022
geoand added a commit that referenced this issue Feb 23, 2022
Add working directory configuration to Jib
@quarkus-bot quarkus-bot bot added this to the 2.8 - main milestone Feb 23, 2022
@gsmet gsmet modified the milestones: 2.8 - main, 2.7.3.Final Feb 28, 2022
gsmet pushed a commit to gsmet/quarkus that referenced this issue Feb 28, 2022
galderz pushed a commit to galderz/quarkus that referenced this issue Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/container-image area/housekeeping Issue type for generalized tasks not related to bugs or enhancements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants