pivoting project to use a privileged, airgapped container to interface with encrypted device rather than passing an unencrypted device through to the container
This commit is contained in:
parent
aec955386a
commit
7efdcc684e
@ -8,6 +8,7 @@ RUN ln -snf /usr/share/zoneinfo/America/New_York /etc/localtime && \
|
|||||||
echo "America/New_York" > /etc/timezone
|
echo "America/New_York" > /etc/timezone
|
||||||
RUN apt-get update && apt-get install -y curl vim neovim zsh git \
|
RUN apt-get update && apt-get install -y curl vim neovim zsh git \
|
||||||
python3-wheel python3-pip software-properties-common
|
python3-wheel python3-pip software-properties-common
|
||||||
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y cryptsetup
|
||||||
RUN add-apt-repository ppa:deadsnakes/ppa
|
RUN add-apt-repository ppa:deadsnakes/ppa
|
||||||
RUN rm -f /usr/bin/python /usr/bin/pip /usr/bin/python3
|
RUN rm -f /usr/bin/python /usr/bin/pip /usr/bin/python3
|
||||||
RUN ln -s /usr/bin/pip3 /usr/bin/pip
|
RUN ln -s /usr/bin/pip3 /usr/bin/pip
|
||||||
|
15
docker-compose.yaml
Normal file
15
docker-compose.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
priv:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
image: docker.scalz.cloud/priv
|
||||||
|
container_name: priv
|
||||||
|
privileged: true
|
||||||
|
#tty: true
|
||||||
|
stdin_open: true
|
||||||
|
network_mode: none
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user