This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Test Sqlite", | |
"type": "cppdbg", | |
"request": "launch", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MULTI STAGE BUILD | |
FROM aharonamir/vscode-remote-gcc-vcpkg as builder | |
# install project specific dependencies | |
# install deb packages | |
USER root | |
COPY ./script/install-deb-dependencies.sh /usr/ | |
RUN chmod +x /usr/install-deb-dependencies.sh | |
RUN apt-get update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
# add vcpkg toochain | |
include(/home/vscode/vcpkg/scripts/buildsystems/vcpkg.cmake) | |
# find packages: | |
# some packages in vcpkg will require to add find_package | |
# e.g find_package(nlohmann_json CONFIG REQUIRED) | |
# vcpkg will notify that when installing the specific package | |
# libs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM aharonamir/vscode-remote-gcc-vcpkg | |
# install project specific dependencies | |
# install deb packages | |
USER root | |
COPY ./script/install-deb-dependencies.sh /usr/ | |
RUN chmod +x /usr/install-deb-dependencies.sh | |
RUN apt-get update | |
RUN /usr/install-deb-dependencies.sh | |
# Clean up APT when done. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Search</title> | |
<style> | |
/* Your CSS */ | |
#container { | |
min-height: 100vh; | |
font-size: larger; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MULTI STAGE BUILD | |
# start from building develop image | |
# and then run the compile | |
FROM aharonamir/dev-cpp:4.9 as builder | |
# install project specific dependencies | |
USER root | |
COPY ./dependencies/install-dependencies.sh /usr/ | |
RUN chmod +x /usr/install-dependencies.sh | |
RUN apt-get update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "C++ Launch (GDBSERVER)", | |
"type": "cppdbg", | |
"request": "launch", | |
"miDebuggerServerAddress": "localhost:2000", | |
"preLaunchTask": "start-gdbserver", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "start develop env", | |
"type": "shell", | |
"command": "docker-compose -f develop-compose.yml run --service-ports --name devenv dev-image bash", | |
"problemMatcher": [] | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
##### the develop image you've build | |
### don't forget to open ports for your app | |
dev-image: | |
image: your-company/your-project/develop | |
ports: | |
- "2000:2000" | |
- "50010:50010" | |
privileged: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM aharonamir/dev-cpp:4.9 | |
USER root | |
COPY ./doc/install-dependencies.sh /usr/ | |
RUN chmod +x /usr/install-dependencies.sh | |
RUN apt-get update | |
RUN /usr/install-dependencies.sh | |
# Clean up APT when done. |
NewerOlder