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

Error docker build #4

Closed
flipkill1985 opened this issue Sep 18, 2018 · 1 comment
Closed

Error docker build #4

flipkill1985 opened this issue Sep 18, 2018 · 1 comment
Labels
invalid This doesn't seem right

Comments

@flipkill1985
Copy link

Step 64/73 : COPY src/fhem/trunk/fhem/ /fhem/
lstat src/fhem/trunk/fhem/: no such file or directory

@jpawlowski jpawlowski added the invalid This doesn't seem right label Sep 19, 2018
@jpawlowski
Copy link
Contributor

Use the pre-build version provided on Docker hub. External dependencies are collected on the build host of Travis-CI and you would need to replicate that on your local system. If you can't do that, the pre-build images is what you want to use.

This was referenced Sep 20, 2018
CoolTuxNet pushed a commit that referenced this issue Oct 17, 2021
…educed build time (#4)

Dockerfile:

Moved ARG BUILD_DATE and dependend RUNS to the end, becasue this invalidats the cache for every build run

Added Version numbers to every apt package to specify what is installed and be able to update the image if new versions are released. Specifying a new version will invalidate the cache for the layer and all following ones

Added wildcard for some plattform specific versions where version arn't the same overall

Removed upgrade in base envionment, versions should be used from the specified base imae

removed apt-transport-https package, because it's no longer needed

combined COPY to reduce layers created

rearrange dockerfile for improved cache

specified buster als 10.7 to be able to get notified when 10.8 is released via dependabot and start a new build

Use the slim image instead of the full one

build.yml

readded caching, Dockerfile supports now caching
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Development

No branches or pull requests

2 participants