Giter Club home page Giter Club logo

companieshouse.perl-base-image's Introduction

perl-base

Base Docker images for perl applications.

Supported images

Tag OS Perl version
169942020521.dkr.ecr.eu-west-1.amazonaws.com/base/perl:5.18-centos Centos 7.x 5.18.2

Image properties

Here are the properties used in the base images:

Directive Value
WORKDIR /app
CMD sh -c PERL5LIB=local/lib/perl5 plenv exec perl script/start_app daemon

Sample use

Follow below steps to package perl application as a Docker image:

  1. create .dockeringore file to filter out files that should not be copied to Docker image

  2. create Dockerfile file with instructions below and adjust port number to one application uses:

     FROM 169942020521.dkr.ecr.eu-west-1.amazonaws.com/base/perl:5.18-centos
    
     ENV MOJO_LISTEN=http://*:9999
    
     EXPOSE 9999
  3. build Docker image using docker build -t 169942020521.dkr.ecr.eu-west-1.amazonaws.com/local/[application name] . command

License

This project is licensed under the MIT License - see the LICENSE file for details.

companieshouse.perl-base-image's People

Contributors

damiandunajski avatar sroberts2 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.