feat: initial commit with static pcap sys build

This commit is contained in:
Andrew Rioux
2023-04-28 14:37:07 -04:00
commit 226eefbedd
17 changed files with 2317 additions and 0 deletions

19
.devcontainer/Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
# Copyright (C) 2023 Andrew Rioux
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
FROM rust:1-alpine
RUN apk add bash docker git cmake make automake musl-dev \
flex bison linux-headers openssl-dev

View File

@@ -0,0 +1,23 @@
{
"name": "sparse",
"build": {
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
"settings": {
"licenser.license": "AGPLv3",
"licenser.projectName": "sparse"
},
"extensions": [
"tootone.org-mode",
"rust-lang.rust-analyzer",
"ymotongpoo.licenser",
"ms-azuretools.vscode-docker",
"bungcip.better-toml"
]
}
},
"runArgs": ["--privileged"],
"postStartCommand": "nohup bash -c 'dockerd &' > /docker.log 2> /docker.log"
}