Sign inSign up

grantmacken/alpine-openresty

By grantmacken

Updated almost 6 years ago

openresty on alpine

Image
0

750

grantmacken/alpine-openresty repository overview

alpine-openresty

alpine docker image for openresty

Build Status

openresty alpine docker image built from source

This repo represents is my current working environment, and as such, it is not the smallest possible image.

It provides a base image from which I create my development and production images

latest image based on

  • alpine: 3.9
  • OpenResty: 1.15.8.1

Clone or fork this repo

make build

You might want to change some openresty [ --with --without ] configure options in the Makefile to fit your requirement.

In this repo the docker-compose.yml publish port is 80 443

docker-compose up -d
docker-compose down

Build Targets

The docker image build has two stages

  1. pack
  2. base

pack

As well as building openresty, the image contains the tools required to run

  • OPM the openresty package manager
  • Nginx::Test the openresty data driven test framework.
  • a commonmark implementaion cmark

base

This target adds some OPM modules

  1. ledgetech/lua-resty-http
  2. SkyLothar/lua-resty-jwt
  3. bungle/lua-resty-reqargs

Tag summary

Content type

Image

Digest

Size

21.3 MB

Last updated

almost 6 years ago

docker pull grantmacken/alpine-openresty:1.17.8.1