forked from robustirc/bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (19 loc) · 693 Bytes
/
Makefile
File metadata and controls
22 lines (19 loc) · 693 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Building with “go build” will work just fine.
# This file just exists to build Docker containers.
.PHONY: container
all:
@echo This Makefile is only for building docker containers.
@echo Please follow the instructions on http://robustirc.net for running the bridge.
container:
(cd robustirc-bridge && go build)
# This list is from go/src/crypto/x509/root_unix.go.
install $(shell ls \
/etc/ssl/certs/ca-certificates.crt \
/etc/pki/tls/certs/ca-bundle.crt \
/etc/ssl/ca-bundle.pem \
/etc/ssl/cert.pem \
/usr/local/share/certs/ca-root-nss.crt \
/etc/pki/tls/cacert.pem \
/etc/certs/ca-certificates.crt \
2>&- | head -1) ca-certificates.crt
docker build --rm -t=robustirc/bridge .