forked from klakegg/docker-hugo
-
Notifications
You must be signed in to change notification settings - Fork 3
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
chown: Operation not permitted #194
Comments
should be fixed now: /home/floryn90/hugo-website# docker build .
[+] Building 5.1s (16/16) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 359B 0.0s
=> [internal] load metadata for docker.io/floryn90/hugo:0.140.0-onbuild 0.8s
=> [internal] load metadata for docker.io/library/nginx:latest 0.6s
=> [auth] library/nginx:pull token for registry-1.docker.io 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 428.22kB 0.1s
=> [build 1/1] FROM docker.io/floryn90/hugo:0.140.0-onbuild@sha256:d1a9ab75c5a8e67be5891349a1cd54ffe64b02c5d6e600ad54a9958de8ffe118 0.0s
=> => resolve docker.io/floryn90/hugo:0.140.0-onbuild@sha256:d1a9ab75c5a8e67be5891349a1cd54ffe64b02c5d6e600ad54a9958de8ffe118 0.0s
=> [stage-1 1/4] FROM docker.io/library/nginx:latest@sha256:fb197595ebe76b9c0c14ab68159fd3c08bd067ec62300583543f0ebda353b5be 0.0s
=> [build 2/13] ONBUILD COPY . /src 0.4s
=> [build 3/13] ONBUILD WORKDIR /src 0.0s
=> [build 4/13] ONBUILD RUN chown -R hugo:hugo /src /target 3.6s
=> [build 5/13] ONBUILD RUN if [ -e ".hugo-onbuild.sh" ]; then exec sh .hugo-onbuild.sh; else exec hugo $HUGO_CMD; fi 0.2s
=> CACHED [stage-1 2/4] WORKDIR /usr/share/nginx/html/ 0.0s
=> CACHED [stage-1 3/4] RUN rm -rf * .??* 0.0s
=> CACHED [stage-1 4/4] COPY --from=build /target /usr/share/nginx/html 0.0s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:718726da6cf520c45985d6f024184681f71b4b25f2cecad79c798e0bb5fde779 |
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
It seems that fixing #180 was not enough. Using
hugo:0.140.0-onbuild
I get another chown error.To Reproduce
Steps to reproduce the behavior:
Dockerfile:
Error:
The text was updated successfully, but these errors were encountered: