til.duyet.net
til.duyet.net
blog
til.duyet.net
til.duyet.net
Today I Learned
Python
date_range_generator
get_all_s3_keys
Pipenv
YAML config file with environment variables
Database
Athena - Add Partition
Redshift - Check the table size
Redshift - tables and their owners
Redshift - GRANT
Postgres - List tables
Hive - SHOW schemas/tables/create
Postgres - Index Summary
Bigquery - Sample queries for audiences based
Bigquery - UNNEST in SELECT
Data Engineer
Tools
EMR
Kubernetes
Helm Charts
Apache Airflow
Unix
Docker cleanup
Git - Pretty git branch graphs
K8S - Port Forward
Checking files in Docker build context
Articles
Miscellaneous
[Fig] Single machine and distributed system structure
Deploying Machine Learning Models at Scale
Go
Functions and Methods in Go?
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
K8S - Port Forward
Next
Articles
Last updated 4 weeks ago
Edit on GitHub