Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I got started on trying to make a basic postgres image but I can't seem to figure out how to include a shell script in the same folder as my nix file (fetched from https://github.com/docker-library/postgres/blob/master/docker-entrypoint.sh and to be modified once I get it working) into the docker image as an entrypoint
You can try to find solution here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/docker/examples.nix
dockerTools is the canonical way, but https://github.com/nlewo/nix2container seems to be gaining support as it's faster and doesn't use so much disk space while building.
depending on what you want to do, https://devenv.sh may also be a good option? esp. if part of the reason is to be able to run Postgres as a temp. docker while coding+testing locally.