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 and Makefile #73

Merged
merged 3 commits into from
Jul 2, 2019
Merged

Add Dockerfile and Makefile #73

merged 3 commits into from
Jul 2, 2019

Conversation

dalf
Copy link
Contributor

@dalf dalf commented Jun 28, 2019

make build to build a docker image morty:latest (no need to install golang, it uses a muti-stage Dockerfile)

make run to start morty, help to debug.

should help searx/searx#1561

related to asciimoo/filtron#4


Note that there are still things to do :

  • run morty with a dedicated user instead of root
  • compile different docker images automatically on hub.docker.com for amd64, x64, arm, arm64 architectures.

dalf added 3 commits June 28, 2019 11:07
- the key is base64 encoded /!\ break compatibility, see searx project PR #1629
- make sure to use golang:1.12-alpine to build morty to support TLS 1.3 (from morty to external)
Copy link
Owner

@asciimoo asciimoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks.

@asciimoo asciimoo merged commit f54a2a7 into master Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants