Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Dockerfile for Docker support #31

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

iambryancs
Copy link

@iambryancs iambryancs commented Jan 20, 2021

Hi John, this PR adds support for Docker. Very useful in my case where I do tests on dev k8s cluster.
Also useful on any system with Docker that don't want to deal with installing CPAN/Perl and other extensions like Net-SSLeay.

Usage:

docker run --rm -ti jetmore/swaks [OPTIONS]

Example:

# test
docker run --rm -ti jetmore/swaks \
  -f [email protected] \
  -t [email protected] \
  -s localhost

# help
docker run --rm jetmore/swaks --help

@iambryancs iambryancs changed the title add Dockerfile add Dockerfile for Docker support Jan 20, 2021
@mathieu-aubin
Copy link

considering this is a single file, standalone... do you think it is needed to have such docker setup?

@jetmore
Copy link
Owner

jetmore commented Sep 14, 2021

considering this is a single file, standalone... do you think it is needed to have such docker setup?

The script itself is only one file, but there are optional perl modules (as referenced by the ticket creator) that could be pulled in. Also, I imagine in some deploy environments that are optimized for Docker it would be nice to have even for a single file. I haven't thought yet about how to formally include this in the project but I support the general idea.

@mathieu-aubin
Copy link

fair enough

@jetmore jetmore added the enhancement New functionality slated to be implemented someday label Nov 5, 2023
@jetmore jetmore added this to the backlog milestone Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New functionality slated to be implemented someday
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants