https://github.com/malb/fplll-virtual-machines
virtual machine templates for fplll and friends
https://github.com/malb/fplll-virtual-machines
Last synced: 2 months ago
JSON representation
virtual machine templates for fplll and friends
- Host: GitHub
- URL: https://github.com/malb/fplll-virtual-machines
- Owner: malb
- Created: 2016-10-08T10:40:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-02-06T12:34:01.000Z (over 5 years ago)
- Last Synced: 2025-03-06T15:51:38.407Z (over 1 year ago)
- Language: Shell
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
#+TITLE: Virtual Machine Templates for FPLLL Projects
* Amazon Web Services (AWS)
Installs the latest version of [[https://github.com/fplll/fpylll][fplll]], [[https://github.com/fplll/fpylll][fpylll]] and [[https://github.com/fplll/g6k][g6k]] into an [[https://aws.amazon.com/ec2/instance-types/][AWS]] image.
1. setup AWS
2. adapt the [[https://aws.amazon.com/ec2/instance-types/][instance type]] in the field =instance_type= in =fplll-packer-aws.json=
3. run [[https://www.packer.io][packer]]
#+BEGIN_SRC bash :async
packer build fplll-packer-aws.json
#+END_SRC
4. log into Amazon’s AWS console, launch your instance and SSH into it
* Docker
** FPLLL
https://hub.docker.com/r/fplll/fplll
#+BEGIN_SRC bash :async
docker build --build-arg BRANCH=master \
-f Dockerfile.fplll --no-cache -t fplll/fplll:latest .
docker build --build-arg BRANCH=5.3.3 \
-f Dockerfile.fplll --no-cache -t fplll/fplll:5.3.2 .
#+END_SRC
#+RESULTS:
#+BEGIN_SRC bash :async :results output
docker push fplll/fplll:latest ## Haha, you can’t do that
docker push fplll/fplll:5.3.3
#+END_SRC
#+RESULTS:
** FPyLLL
https://hub.docker.com/r/fplll/fpylll
#+BEGIN_SRC bash :async
docker build --build-arg BRANCH=master \
-f Dockerfile.fpylll --no-cache -t fplll/fpylll:latest .
docker build --build-arg BRANCH=0.5.1dev \
-f Dockerfile.fpylll --no-cache -t fplll/fpylll:0.5.1dev .
#+END_SRC
#+RESULTS:
#+BEGIN_SRC bash :async :results output
docker push fplll/fpylll:latest
docker push fplll/fpylll:0.5.1dev
#+END_SRC
** G6K
https://hub.docker.com/r/martinralbrecht/g6k
#+BEGIN_SRC bash :async
docker build --build-arg BRANCH=master \
-f Dockerfile.g6k --no-cache -t martinralbrecht/g6k:latest .
#+END_SRC
#+BEGIN_SRC bash :async :results output
docker push martinralbrecht/g6k:latest
#+END_SRC
** SageMath + G6K/FPyLLL
https://hub.docker.com/r/martinralbrecht/sagemath-g6k
#+BEGIN_SRC bash :async
docker build \
--build-arg FPLLL_BRANCH=master \
--build-arg FPYLLL_BRANCH=master \
--build-arg G6K_BRANCH=master \
-f Dockerfile.sagemath-g6k --no-cache -t martinralbrecht/sagemath-g6k:latest .
#+END_SRC
#+RESULTS:
#+BEGIN_SRC bash :async :results output
docker push martinralbrecht/sagemath-g6k:latest
#+END_SRC
#+RESULTS: