File tree Expand file tree Collapse file tree
cpp-mariadb/.devcontainer
ruby-rails-postgres/.devcontainer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "image" : " mcr.microsoft.com/devcontainers/javascript-node:1-18-bullseye " ,
2+ "image" : " mcr.microsoft.com/devcontainers/javascript-node:4-24-trixie " ,
33 "features" : {
44 "ghcr.io/devcontainers/features/docker-in-docker:2" : {}
55 },
Original file line number Diff line number Diff line change @@ -55,4 +55,8 @@ curl -sSL "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/
5555sha256sum -c --ignore-missing " ${CMAKE_CHECKSUM_NAME} "
5656sh " ${TMP_DIR} /${CMAKE_BINARY_NAME} " --prefix=/opt/cmake --skip-license
5757
58+ ln -s /opt/cmake/bin/ccmake /usr/local/bin/ccmake
5859ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake
60+ ln -s /opt/cmake/bin/cmake-gui /usr/local/bin/cmake-gui
61+ ln -s /opt/cmake/bin/cpack /usr/local/bin/cpack
62+ ln -s /opt/cmake/bin/ctest /usr/local/bin/ctest
Original file line number Diff line number Diff line change @@ -55,5 +55,8 @@ curl -sSL "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/
5555sha256sum -c --ignore-missing " ${CMAKE_CHECKSUM_NAME} "
5656sh " ${TMP_DIR} /${CMAKE_BINARY_NAME} " --prefix=/opt/cmake --skip-license
5757
58+ ln -s /opt/cmake/bin/ccmake /usr/local/bin/ccmake
5859ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake
60+ ln -s /opt/cmake/bin/cmake-gui /usr/local/bin/cmake-gui
61+ ln -s /opt/cmake/bin/cpack /usr/local/bin/cpack
5962ln -s /opt/cmake/bin/ctest /usr/local/bin/ctest
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ services:
2828 POSTGRES_DB : postgres
2929 POSTGRES_PASSWORD : postgres
3030
31- # Add "forwardPorts": [" 5432" ] to **devcontainer.json** to forward PostgreSQL locally.
31+ # Add "forwardPorts": [5432] to **devcontainer.json** to forward PostgreSQL locally.
3232 # (Adding the "ports" property to this file will not forward from a Codespace.)
3333
3434volumes :
Original file line number Diff line number Diff line change @@ -40,6 +40,15 @@ services:
4040 # username: postgres
4141 # password: postgres
4242 # database: myapp_development
43+ #
44+ # ...
45+ #
46+ # test:
47+ # <<: *default
48+ # host: db
49+ # username: postgres
50+ # password: postgres
51+ # database: myapp_test
4352
4453 # Add "forwardPorts": ["5432"] to **devcontainer.json** to forward PostgreSQL locally.
4554 # (Adding the "ports" property to this file will not forward from a Codespace.)
You can’t perform that action at this time.
0 commit comments