mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-01 20:57:38 +00:00
move pkg config from Dockerfile to build.yml
Signed-off-by: Robin Winkelewski <w9ncontact@gmail.com>
This commit is contained in:
@@ -19,4 +19,3 @@ CMD []
|
||||
WORKDIR /
|
||||
COPY --from=mirror /go/bin/host-timesync-daemon /usr/bin/host-timesync-daemon
|
||||
CMD ["/usr/bin/host-timesync-daemon", "-port", "0xf3a4"]
|
||||
LABEL org.mobyproject.config='{"binds": [ "/dev/rtc0:/dev/rtc0" ], "capabilities": ["CAP_SYS_TIME"]}'
|
||||
|
||||
@@ -2,3 +2,8 @@ image: host-timesync-daemon
|
||||
network: true
|
||||
arches:
|
||||
- amd64
|
||||
config:
|
||||
binds:
|
||||
- /dev/rtc0:/dev/rtc0
|
||||
capabilities:
|
||||
- CAP_SYS_TIME
|
||||
|
||||
Reference in New Issue
Block a user