Skip to content

Commit

Permalink
Fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
josephdrichard committed Jun 20, 2024
1 parent 2497e0c commit 406b8fa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile.daemon
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ RUN make clean-daemon && make daemon

FROM quay.io/centos/centos:stream9
RUN dnf update -y && dnf --setopt=skip_missing_names_on_install=False -y install linuxptp ethtool hwdata && dnf clean all
RUN dnf install -y gpsd-minimal
RUN dnf install -y gpsd-minimal-clients

# Create symlinks for executables to match references
RUN ln -s /usr/bin/gpspipe /usr/local/bin/gpspipe
RUN ln -s /usr/sbin/gpsd /usr/local/sbin/gpsd
RUN ln -s /usr/bin/ubxtool /usr/local/bin/ubxtool

COPY --from=builder /go/src/github.com/k8snetworkplumbingwg/ptp-operator/bin/linuxptp-daemon /usr/local/bin/linuxptp-daemon
COPY ./extra/leap-seconds.list /usr/share/zoneinfo/leap-seconds.list

Expand Down

0 comments on commit 406b8fa

Please sign in to comment.