Skip to content

Commit

Permalink
Change base image to SLE
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobi Lehman authored and tlehman committed Oct 19, 2022
1 parent 968afd7 commit 7f15f2e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Dockerfile.dapper
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM golang:1.18.5-alpine3.16
FROM registry.suse.com/bci/bci-base:15.3
RUN zypper -n install pciutils

ARG DAPPER_HOST_ARCH
ENV ARCH $DAPPER_HOST_ARCH

RUN apk -U add bash git gcc musl-dev docker vim less file curl wget ca-certificates pciutils
RUN zypper -n install bash git gcc docker vim less file curl wget ca-certificates pciutils go
RUN go install golang.org/x/lint/golint@latest
RUN go install golang.org/x/tools/cmd/goimports@latest
RUN export K8S_VERSION=1.24.2 && \
Expand Down
5 changes: 2 additions & 3 deletions package/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM gcr.io/distroless/static
FROM registry.suse.com/bci/bci-base:15.3
RUN zypper -n install pciutils
COPY bin/pcidevices /bin/pcidevices
ENTRYPOINT ["pcidevices"]
# https://pci-ids.ucw.cz/v2.2/pci.ids mirror
ADD https://github.com/pciutils/pciids/raw/master/pci.ids /usr/share/hwdata/pci.ids

0 comments on commit 7f15f2e

Please sign in to comment.