til.duyet.net
blog
Search…
⌃K
Links
til.duyet.net
Search…
⌃K
🤪
Today I Learned
Data Engineering
☁
AWS
⚒
Tools
💻
Shell
env from ConfigMap or Secrets
☸
Kubernetes, Helm, Kustomize
🔄
Apache Airflow
🐳
Docker
Database
Google BigQuery
Apache Hive
AWS Redshift / Postgres
Presto
Programming
🍪
Rust
🐍
Python
👻
Golang
💎
Javascript / Typescript
✨
FE / React
Unix
Git - Pretty git branch graphs
Checking files in Docker build context
Bash get the directory of the current script
Vim
Find and replace
Miscellaneous
[Fig] Single machine and distributed system structure
Deploying Machine Learning Models at Scale
Bypass a Chrome certificate/HSTS error
Articles
Powered By GitBook

Checking files in Docker build context

Sometimes we need to check files in Docker build context, or just to check .dockerignore is work or not
Build this Dockerfile
FROM busybox
​
RUN mkdir /tmp/build/
COPY . /tmp/build/
RUN du -ah tmp/build | sort -n -r | head -n 100
docker build .
Unix - Previous
Git - Pretty git branch graphs
Next - Unix
Bash get the directory of the current script
Last modified 1yr ago
Copy link
Edit on GitHub