add script for creating VM image
This commit is contained in:
parent
9c3189544a
commit
75c3228c5e
8 changed files with 196 additions and 2 deletions
21
recipes/certbot/debian.yml
Normal file
21
recipes/certbot/debian.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
environment:
|
||||
PYTHONPATH: /home/artur/test
|
||||
|
||||
dependencies:
|
||||
- python
|
||||
|
||||
packages:
|
||||
- libffi-dev
|
||||
- libssl-dev
|
||||
|
||||
repository:
|
||||
url: https://github.com/certbot/certbot
|
||||
branch: v4.2.0
|
||||
version: 4.2.0
|
||||
|
||||
steps:
|
||||
- $SUDO pip3 install --prefix=$PREFIX certbot
|
||||
- $SUDO pip3 install --prefix=$PREFIX certbot-nginx
|
||||
|
||||
# can be executed like: pip install --prefix=$PREFIX certbot certbot-nginx
|
||||
# to see installed plugins: `certbot plugins`
|
|
@ -14,6 +14,6 @@ repository:
|
|||
|
||||
steps:
|
||||
- ./contrib/download_prerequisites
|
||||
- ./configure --prefix=$HOME/.local --enable-languages=c,c++ --disable-multilib
|
||||
- ./configure --prefix=$PREFIX --enable-languages=c,c++ --disable-multilib
|
||||
- make -j$(nproc)
|
||||
- make install
|
||||
- $SUDO make install
|
||||
|
|
23
recipes/nginx/debian.yml
Normal file
23
recipes/nginx/debian.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
|
||||
packages:
|
||||
- build-essential
|
||||
- libpcre3
|
||||
- libpcre3-dev
|
||||
- zlib1g
|
||||
- zlib1g-dev
|
||||
- libssl-dev
|
||||
|
||||
repository:
|
||||
url: https://github.com/nginx/nginx.git
|
||||
branch: release-1.29.0
|
||||
version: 1.29.0
|
||||
|
||||
build:
|
||||
- ./configure \|
|
||||
--prefix=$PREFIX \|
|
||||
--with-http_ssl_module \|
|
||||
--with-http_gzip_static_module
|
||||
--with-stream
|
||||
--with-http_v2_module
|
||||
- make
|
||||
- $SUDO make install
|
Loading…
Add table
Add a link
Reference in a new issue