Skip to content

Commit

Permalink
#306: try to make kernel modules get loaded from centos-style /lib/mo…
Browse files Browse the repository at this point in the history
…dules tarballs.
  • Loading branch information
lukemarsden committed Mar 1, 2018
1 parent 95807cc commit 320eda4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/dotmesh-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM ubuntu:artful
ENV SECURITY_UPDATES 2018-01-19
RUN apt-get -y update && apt-get -y install zfsutils-linux iproute kmod curl
# Merge kernel module search paths from CentOS and Ubuntu :-O
RUN echo 'search updates extra ubuntu built-in weak-updates' > /etc/depmod.d/ubuntu.conf
ADD require_zfs.sh /require_zfs.sh
COPY ./target/* /usr/local/bin/
2 changes: 2 additions & 0 deletions cmd/dotmesh-server/Dockerfile.multistage
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,7 @@ RUN go build -ldflags "-X main.serverVersion=${VERSION}" -o /target/dotmesh-serv
FROM ubuntu:artful
ENV SECURITY_UPDATES 2018-01-19
RUN apt-get -y update && apt-get -y install zfsutils-linux iproute kmod curl
# Merge kernel module search paths from CentOS and Ubuntu :-O
RUN echo 'search updates extra ubuntu built-in weak-updates' > /etc/depmod.d/ubuntu.conf
ADD require_zfs.sh /require_zfs.sh
COPY --from=0 ./target/* /usr/local/bin/

0 comments on commit 320eda4

Please sign in to comment.