Initial commit
This commit is contained in:
29
.devcontainer/Dockerfile
Normal file
29
.devcontainer/Dockerfile
Normal file
@@ -0,0 +1,29 @@
|
||||
FROM debian:stable-slim
|
||||
|
||||
RUN RUN set -eux; \
|
||||
apt-get update; \
|
||||
apt-get install -y \
|
||||
git \
|
||||
build-essential \
|
||||
cmake \
|
||||
gdb;
|
||||
|
||||
RUN set -eux; \
|
||||
apt-get update; \
|
||||
apt-get install -y \
|
||||
libncurses-dev \
|
||||
libmicrohttpd-dev;\
|
||||
apt-get clean
|
||||
|
||||
RUN set -eux; \
|
||||
git clone https://github.com/jelmd/libprom.git; \
|
||||
cd libprom; \
|
||||
make build; \
|
||||
cd prom/build; \
|
||||
make install; \
|
||||
cd ../../promhttp/build; \
|
||||
make install;
|
||||
|
||||
WORKDIR /root
|
||||
|
||||
CMD ["sleep infinity"]
|
||||
21
.devcontainer/devcontainer.json
Normal file
21
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "Developpement C",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile"
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {
|
||||
"remote.downloadExtensionsLocally": true,
|
||||
"telemetry.enableTelemetry": false,
|
||||
"extensions.ignoreRecommendations": true,
|
||||
"workbench.remoteIndicator.showExtensionRecommendations": false
|
||||
},
|
||||
"extensions": [
|
||||
"ms-vscode.cpptools",
|
||||
"ms-vscode.makefile-tools",
|
||||
"danielpinto8zz6.c-cpp-compile-run"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user