File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-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,10 @@ source dev-container-features-test-lib
18
18
19
19
# Feature-specific tests
20
20
# 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 " PostgreSQL client installed" bash -c " psql --version | grep PostgreSQL"
22
25
23
26
# Report result
24
27
# 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 1
1
{
2
- "all_features " : {
2
+ "apt_with_postgresql_client " : {
3
3
"image" : " mcr.microsoft.com/devcontainers/base:ubuntu" ,
4
4
"features" : {
5
5
"apt" : {
6
6
"version" : " 1" ,
7
7
"devFile" : " Aptfile.dev"
8
+ },
9
+ "ghcr.io/rails/devcontainer/features/postgres-client" : {
10
+ "version" : " 14"
8
11
}
9
12
}
10
13
}
You can’t perform that action at this time.
0 commit comments