forked from detain/skyscraper
-
Notifications
You must be signed in to change notification settings - Fork 27
Buliding docker image fails #220
Copy link
Copy link
Closed
Description
Describe the bug
I am on Linux with Docker v28.5.2, trying to run the docker/build.sh script. The build fails at the COPY ./* ./ step of the Dockerfile. I tried both on master and on the 3.18.4 tag.
To Reproduce
git clone --depth 1 --branch 3.18.4 [email protected]:Gemba/skyscraper.git
cd skyscraper/docker
./build.sh
Expected behavior
The docker image should successfully build.
Terminal output
#10 [ 6/10] RUN rm -rf /var/lib/apt/lists/*
#10 DONE 0.4s
#11 [ 7/10] RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
#11 0.551 info: Adding user `docker' to group `sudo' ...
#11 DONE 0.6s
#12 [ 8/10] COPY ./* ./
#12 ERROR: cannot copy to non-directory: /var/lib/docker/overlay2/mwv38nblui9n5ipogv1s7d1ny/merged/config
------
> [ 8/10] COPY ./* ./:
------
Dockerfile:26
--------------------
24 |
25 | # Building skyscraper
26 | >>> COPY ./* ./
27 | RUN rm -f ./VERSION.ini
28 | RUN chmod +x update_skyscraper.sh && ./update_skyscraper.sh
--------------------
ERROR: failed to build: failed to solve: cannot copy to non-directory: /var/lib/docker/overlay2/mwv38nblui9n5ipogv1s7d1ny/merged/config
Technical information
rudism ~ $ ufetch
_______ [email protected]
\_____ `- OS: Void Linux
/\ ___ `- \ KERNEL: Linux 6.12.68_1
| | / \ | | UPTIME: 1 week, 2 days, 1 hour, 43 minutes
| | \___/ | | PACKAGES: 1272
\ `-_____ \/ SHELL: yash
`-______\ DE: sway
rudism ~ $ docker --version
Docker version 28.5.2, build tag v28.5.2
Additional context
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels