-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM python:3.9.15-bullseye | ||
|
||
RUN apt -y update && apt upgrade -qqy && apt -y install \ | ||
curl \ | ||
gcc \ | ||
git | ||
|
||
RUN pip install -U pip && pip install poetry |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "dev", | ||
"dockerFile": "Dockerfile", | ||
"postCreateCommand": "/bin/sh ./.devcontainer/postCreateCommands.sh", | ||
"extensions": [ | ||
"ms-azuretools.vscode-docker", | ||
"ms-python.python", | ||
"ms-python.vscode-pylance" | ||
], | ||
"settings": { | ||
"python.linting.flake8Enabled": true, | ||
"python.formatting.provider": "black", | ||
"[python]": { | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": true | ||
} | ||
}, | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
|
||
poetry config virtualenvs.in-project true | ||
poetry install | ||
|
||
echo 'Welcome to the ntfsdump development environment!' |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.9-buster | ||
FROM python:3.9-bullseye | ||
|
||
# install from pypi | ||
WORKDIR /app | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
version: "3.8" | ||
|
||
# It can also be run from docker-compose by specifying the following options. | ||
# Note that only the current directory can be specified as a target. | ||
# | ||
# $ ARGUMENTS="'/$MFT' ./path/to/imagefile" docker-compose up | ||
|
||
services: | ||
app: | ||
container_name: ntfsdump | ||
build: | ||
context: ./ | ||
dockerfile: Dockerfile | ||
volumes: | ||
- .:/app | ||
environment: | ||
- ARGUMENTS="-h" | ||
command: ${ARGUMENTS} |