mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
Build/env dev docker 127 (#196)
build: add workflow to create HDK env Docker Image - make bot username a secret - update Makefile to pull the HDK image - have a separate Makefile for the dev specific Docker Image needs
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
FROM ghcr.io/zama-ai/zamalang-compiler
|
||||
FROM ghcr.io/zama-ai/hdk-env
|
||||
|
||||
RUN apt-get install --no-install-recommends -y \
|
||||
python3.8 python3.8-venv python-is-python3 git graphviz* && \
|
||||
pip install --no-cache-dir --upgrade pip && \
|
||||
pip install --no-cache-dir poetry && \
|
||||
echo "source /hdk/.docker_venv/bin/activate" >> /root/.bashrc && \
|
||||
RUN echo "source /hdk/.docker_venv/bin/activate" >> /root/.bashrc && \
|
||||
echo "if [[ \"\$?\" != \"0\" ]]; then" >> /root/.bashrc && \
|
||||
echo " python3 -m venv /hdk/.docker_venv" >> /root/.bashrc && \
|
||||
echo " source /hdk/.docker_venv/bin/activate" >> /root/.bashrc && \
|
||||
10
docker/Dockerfile.hdk-env
Normal file
10
docker/Dockerfile.hdk-env
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM ghcr.io/zama-ai/zamalang-compiler
|
||||
|
||||
RUN apt-get install --no-install-recommends -y \
|
||||
python3.8 \
|
||||
python3.8-venv \
|
||||
python-is-python3 \
|
||||
git \
|
||||
graphviz* && \
|
||||
pip install --no-cache-dir --upgrade pip && \
|
||||
pip install --no-cache-dir poetry
|
||||
Reference in New Issue
Block a user