Compare commits
18 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
57c61deb5e | ||
|
|
84420deea6 | ||
|
|
490759033a | ||
|
|
eaa1594894 | ||
|
|
f06469b008 | ||
|
|
9aa8cdb3ad | ||
|
|
0773fcf8a6 | ||
|
|
96877a0e6e | ||
|
|
d4336d049f | ||
|
|
fd480ea91b | ||
|
|
42c55bad62 | ||
|
|
fbde328c00 | ||
|
|
8f169dd99e | ||
|
|
246a46a395 | ||
|
|
28a6d721f8 | ||
|
|
c8b9e32c7d | ||
|
|
fc15d8f472 | ||
|
|
48acbf06da |
2 changed files with 55 additions and 23 deletions
16
Dockerfile
16
Dockerfile
|
|
@ -1,12 +1,12 @@
|
||||||
FROM fedora:25
|
FROM registry.fedoraproject.org/fedora:25
|
||||||
|
|
||||||
ENV VERSION=0.1 RELEASE=1 ARCH=x86_64
|
ENV VERSION=0.1 RELEASE=19 ARCH=x86_64
|
||||||
LABEL BZComponent="etcd-docker" \
|
LABEL com.redhat.component="etcd" \
|
||||||
Name="$FGC/etcd" \
|
name="$FGC/etcd" \
|
||||||
Version="$VERSION" \
|
version="$VERSION" \
|
||||||
Release="$RELEASE" \
|
release="$RELEASE.$DISTTAG" \
|
||||||
Architecture="$ARCH" \
|
architecture="$ARCH" \
|
||||||
Summary="A key-value store for shared configuration and service discovery." \
|
summary="A key-value store for shared configuration and service discovery." \
|
||||||
maintainer="Giuseppe Scrivano <gscrivan@redhat.com>"
|
maintainer="Giuseppe Scrivano <gscrivan@redhat.com>"
|
||||||
|
|
||||||
RUN dnf -y --setopt=tsflags=nodocs install etcd hostname && \
|
RUN dnf -y --setopt=tsflags=nodocs install etcd hostname && \
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"ociVersion": "0.3.0",
|
"ociVersion": "1.0.0",
|
||||||
"platform": {
|
"platform": {
|
||||||
"os": "linux",
|
"os": "linux",
|
||||||
"arch": "amd64"
|
"arch": "amd64"
|
||||||
|
|
@ -56,7 +56,41 @@
|
||||||
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||||||
"TERM=xterm"
|
"TERM=xterm"
|
||||||
],
|
],
|
||||||
"cwd": "/"
|
"cwd": "/",
|
||||||
|
"capabilities": {
|
||||||
|
"bounding": [
|
||||||
|
"CAP_AUDIT_WRITE",
|
||||||
|
"CAP_KILL",
|
||||||
|
"CAP_NET_BIND_SERVICE"
|
||||||
|
],
|
||||||
|
"permitted": [
|
||||||
|
"CAP_AUDIT_WRITE",
|
||||||
|
"CAP_KILL",
|
||||||
|
"CAP_NET_BIND_SERVICE"
|
||||||
|
],
|
||||||
|
"inheritable": [
|
||||||
|
"CAP_AUDIT_WRITE",
|
||||||
|
"CAP_KILL",
|
||||||
|
"CAP_NET_BIND_SERVICE"
|
||||||
|
],
|
||||||
|
"effective": [
|
||||||
|
"CAP_AUDIT_WRITE",
|
||||||
|
"CAP_KILL",
|
||||||
|
"CAP_NET_BIND_SERVICE"
|
||||||
|
],
|
||||||
|
"ambient": [
|
||||||
|
"CAP_AUDIT_WRITE",
|
||||||
|
"CAP_KILL",
|
||||||
|
"CAP_NET_BIND_SERVICE"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"rlimits": [
|
||||||
|
{
|
||||||
|
"type": "RLIMIT_NOFILE",
|
||||||
|
"hard": 1024,
|
||||||
|
"soft": 1024
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"path": "rootfs",
|
"path": "rootfs",
|
||||||
|
|
@ -155,21 +189,19 @@
|
||||||
"rw",
|
"rw",
|
||||||
"mode=755"
|
"mode=755"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"destination": "/etc/resolv.conf",
|
||||||
|
"type": "bind",
|
||||||
|
"source": "/etc/resolv.conf",
|
||||||
|
"options": [
|
||||||
|
"ro",
|
||||||
|
"rbind",
|
||||||
|
"rprivate"
|
||||||
|
]
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"linux": {
|
"linux": {
|
||||||
"capabilities": [
|
|
||||||
"CAP_AUDIT_WRITE",
|
|
||||||
"CAP_KILL",
|
|
||||||
"CAP_NET_BIND_SERVICE"
|
|
||||||
],
|
|
||||||
"rlimits": [
|
|
||||||
{
|
|
||||||
"type": "RLIMIT_NOFILE",
|
|
||||||
"hard": 1024,
|
|
||||||
"soft": 1024
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"resources": {
|
"resources": {
|
||||||
"devices": [
|
"devices": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue