Skip to content

Conversation

larsar
Copy link
Contributor

@larsar larsar commented Apr 22, 2018

I found that the existing Dockerfile downloaded a release version and installed it in the image. I don't really see how that approach is usable other than for generating an image based on a specific release version of the SCEP server. In any case, the user should be able to download a specific version directly from Docker hub instead.

With the Dockerfile in this pull request, the image is built using the compiled version of SCEP server/client.

The entrypoint is set to start the server, but the user can just override it on container start to start the scep client instead.

@larsar
Copy link
Contributor Author

larsar commented Apr 23, 2018

Can you please take a look at this, @groob. I forgot to add description when creating the pull request yesterday, but I have updated it now.

I suggest we improve the Makefile to include a target for docker build as well, but I thought I'd start with just the Dockerfile. I like the way MicroMDM's Makefile creates versions, and suggest we use the same logic for SCEP. If you agree, I can do some Makefile improvements as well.

@groob groob merged commit 528937a into micromdm:master May 5, 2018
@larsar larsar deleted the docker_build branch November 21, 2018 11:03
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