File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1+ libpq-dev
Original file line number Diff line number Diff line change @@ -18,7 +18,11 @@ source dev-container-features-test-lib
1818
1919# Feature-specific tests
2020# The 'check' command comes from the dev-container-features-test-lib.
21- check " ffmpeg is installed" bash -c " ffmpeg -version | grep 'ffmpeg version'"
21+ # Check if libpq-dev is installed
22+ check " libpq-dev installed" bash -c " dpkg -l | grep libpq-dev"
23+
24+ # Check if PostgreSQL client (version 17) is installed
25+ check " PostgreSQL client version 17 installed" bash -c " psql --version | grep -E 'PostgreSQL.*17(\.[0-9]+)?'"
2226
2327# Report result
2428# If any of the checks above exited with a non-zero exit code, the test will fail.
Original file line number Diff line number Diff line change 11{
2- "all_features " : {
2+ "apt_with_postgresql_client " : {
33 "image" : " mcr.microsoft.com/devcontainers/base:ubuntu" ,
44 "features" : {
55 "apt" : {
66 "version" : " 1" ,
77 "devFile" : " Aptfile.dev"
8+ },
9+ "ghcr.io/rails/devcontainer/features/postgres-client" : {
10+ "version" : " 17"
811 }
912 }
1013 }
You can’t perform that action at this time.
0 commit comments