Comments (6)
I suggest to use .dockerignore and follow the "exclude all, add what is needed pattern". This is much better approach.
# Ignore everything
**
# Allow only these directories
!airflow
!common
https://github.com/apache/airflow/blob/147bcecc4902793e0b913dfdad1bd799621971c7/.dockerignore#L26
from www-site.
Main reason is because you cannot add files from outside the context to docker context so you have to do weird things to add top files or files from not under directory where Dockerfile is placed. Then you cannot really do the usual docker build . -f Dockerfile
but you either have to provide different context anyway or somehow copy over the files you need to under docker folder.
from www-site.
Good point, but AFAICT in this case there are no files needed...
from www-site.
Until they are :)
from www-site.
You can exclude everything then
.dockerignore
# Ignore everything
**
from www-site.
You should be joining the conversation on PR #60 where we have yet to decide the ultimate location
from www-site.
Related Issues (20)
- Broken links in https://www.apache.org/foundation/how-it-works/ HOT 1
- Broken link in https://www.apache.org/licenses/cla-faq HOT 1
- Link to Reports only on homepage HOT 1
- Dynamic project data should not be added to the search index HOT 5
- Commit to changing the organization name HOT 1
- PNG and SVG logos look rather different HOT 8
- PNG and SVG fonts are not exactly the same HOT 1
- Extra space in header causes issues for page anchors HOT 3
- Social icons should have hover text and other accessibility attributes HOT 3
- Inaccurate project count HOT 15
- Should the Attic be excluded from the "featured projects"? HOT 6
- Consider adding `rel="noopener"` to links with `target=\"_blank \"` HOT 2
- The bootstrap css version is rather old HOT 1
- Issue with verification doc HOT 1
- Home page title has the word 'test' HOT 8
- Add a "contact us" section in the README file HOT 1
- Broken page: https://apache.org/foundation/press/central-services-request HOT 6
- Broken link at https://apache.org/dev/standards/#standards-at-apache HOT 2
- base.html references js/new-ui.js which does not exist
- Privacy issue on ASF 25th anniversary page HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from www-site.