reduced layers, made compose file pull instead of building
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
FROM ubuntu:latest
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y curl lsb-release
|
||||
RUN apt-get install -y zfs-dkms zfsutils-linux
|
||||
RUN apt-get -y update
|
||||
RUN apt-get update && apt-get install -y curl lsb-release zfs-dkms zfsutils-linux && apt-get -y update
|
||||
RUN rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV zfswatcher_package="zfswatcher_0.4.6-1_amd64.deb" \
|
||||
|
||||
@@ -2,8 +2,8 @@ version: '2'
|
||||
|
||||
services:
|
||||
zfswatcher:
|
||||
container_name: zfswatcher
|
||||
image: pectojin/zfswatcher:latest
|
||||
build: .
|
||||
volumes:
|
||||
- /etc/zfswatcher:/zfswatcher_config:rw
|
||||
- /var/log/zfswatcher/zfswatcher.log:/var/log/zfswatcher/zfswatcher.log:rw
|
||||
|
||||
Reference in New Issue
Block a user