Skip to content

Commit f5ae1b6

Browse files
committed
new license, minor edits
1 parent 71c267e commit f5ae1b6

File tree

4 files changed

+27
-10
lines changed

4 files changed

+27
-10
lines changed

LICENSE

+18-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
1-
Copyright (C) 2015 Glider Labs
1+
The MIT License (MIT)
22

3-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
3+
Copyright (c) 2015 Glider Labs
44

5-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
611

7-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
## License
44

5-
BSD
5+
MIT

consul-agent/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
FROM gliderlabs/consul:latest
22
ADD ./config /config/
33
EXPOSE 8300 8301 8301/udp 8302 8302/udp 8400 8500 8600 8600/udp
4+
ENV DNS_RESOLVES consul
5+
ENV DNS_PORT 8600
46
ENTRYPOINT ["/bin/consul", "agent", "-config-dir=/config"]

consul/Dockerfile

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
FROM progrium/busybox
1+
FROM alpine:3.2
2+
3+
RUN apk --update add curl ca-certificates && \
4+
curl -Ls https://circle-artifacts.com/gh/andyshinn/alpine-pkg-glibc/6/artifacts/0/home/ubuntu/alpine-pkg-glibc/packages/x86_64/glibc-2.21-r2.apk > /tmp/glibc-2.21-r2.apk && \
5+
apk add --allow-untrusted /tmp/glibc-2.21-r2.apk && \
6+
rm -rf /tmp/glibc-2.21-r2.apk /var/cache/apk/*
27

38
ADD https://dl.bintray.com/mitchellh/consul/0.5.2_linux_amd64.zip /tmp/consul.zip
49
RUN cd /bin && unzip /tmp/consul.zip && chmod +x /bin/consul && rm /tmp/consul.zip
510

6-
RUN opkg-install ca-certificates && \
7-
cat /etc/ssl/certs/*.crt > /etc/ssl/certs/ca-certificates.crt && \
8-
sed -i -r '/^#.+/d' /etc/ssl/certs/ca-certificates.crt
9-
1011
ENTRYPOINT ["/bin/consul"]

0 commit comments

Comments
 (0)