Skip to content

Commit 3de4f2f

Browse files
authored
Adding changes in readme file of cpp image for adding changes needed for vcpkg. (#1356)
1 parent c98f0ac commit 3de4f2f

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/cpp/.devcontainer/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ USER root
55
# Install needed packages. Use a separate RUN statement to add your own dependencies.
66
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
77
&& apt-get -y install build-essential cmake cppcheck valgrind clang lldb llvm gdb \
8+
# [Optional] Additional packages required for using vcpkg package manager in manifest mode.
9+
# [Optional] Please uncommment if the below line in needed.
10+
# && apt-get -y install autoconf automake libtool m4 autoconf-archive \
811
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*
912

1013
# Setup ENV vars for vcpkg

src/cpp/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,14 @@ To update the available library packages, pull the latest from the git repositor
5959
cd "${VCPKG_ROOT}"
6060
git pull --ff-only
6161
```
62-
62+
Please install additonal system packages `autoconf automake libtool m4 autoconf-archive` to use vcpkg in manifest
63+
mode. It can be added in the Dockerfile as following:
64+
```
65+
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
66+
&& apt-get -y install autoconf automake libtool m4 autoconf-archive \
67+
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*
68+
```
69+
If building the image from source directly please uncomment respective `# && apt-get -y install autoconf automake libtool m4 autoconf-archive \` line in Dockerfile.
6370
> Note: Please review the [Vcpkg license details](https://github.com/microsoft/vcpkg#license) to better understand its own license and additional license information pertaining to library packages and supported ports.
6471
6572
## License

0 commit comments

Comments
 (0)