mirror of
https://github.com/luxfi/lattice-estimator.git
synced 2026-10-30 16:21:33 +00:00
18 lines
553 B
Docker
18 lines
553 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
# A Dockerfile that can be used without cloning the project manually. It uses
|
|
# malb/lattice-estimator at HEAD. This is appropriate for users who want to use
|
|
# malb/lattice-estimator but do not want to set up a local development
|
|
# environment.
|
|
FROM sagemath/sagemath:latest
|
|
|
|
user root
|
|
RUN apt update && apt upgrade -y
|
|
RUN apt install -y git
|
|
|
|
RUN git clone https://github.com/malb/lattice-estimator.git /lattice-estimator
|
|
WORKDIR /lattice-estimator
|
|
|
|
RUN sage -pip install -r /lattice-estimator/requirements.txt
|
|
CMD ["sage"]
|