Mix.install([
{:req, "~> 0.4.14"},
{:fast_rss, "~> 0.5.0"},
{:bumblebee, "~> 0.5.3"},
{:exla, "~> 0.7.1"},
{:kino, "~> 0.12.3"}
])
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#user nobody; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; |
This guide looks at what it will take to build dockerd and docker-cli from source with Ubuntu. Ubuntu was chosen as the OS as it uses the same apt-get calls the standard Dockerfile method uses making the experience a bit more seamless. While the official method is building docker in a container, here are some reasons why you may want to build this way:
- Custom source modifications for testing
- System that does not yet have a docker(d) binary release
- You want to test things on a non-standard toolchain
- You just want to deep dive
As you can probably tell using this method means you're delving away from support. Please don't file issues/PRs unless you can reproduce in the official build environment. In fact unless you really have one of the strong needs above you're better off building off a container since this guide is mostly a lot of copy/paste from the Dockerfile used in the official build system.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# if compiled from sources | |
# place this file inside /usr/local/etc/rc.d | |
# point _pidfrefix where nginx holds pid file | |
. /etc/rc.subr | |
name="nginx" | |
rcvar=nginx_enable |