Skip to content

Commit

Permalink
Fix alpine 3.13 APK proxy build issue
Browse files Browse the repository at this point in the history
Alpine 3.13 set APK repositories to https instead of http.
APK does not work with https proxy because of libfetch issue.
Set alpine to 3.12 until issue is resolved.

Signed-off-by: Kennelly, Martin <[email protected]>
  • Loading branch information
martinkennelly committed Jan 27, 2021
1 parent c923e56 commit 4cbfd8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apk add --update --virtual build-dependencies build-base linux-headers && \
make build && \
cd /tmp/ddptool && make

FROM alpine
FROM alpine:3.12
RUN apk add hwdata-pci
COPY --from=builder /usr/src/sriov-network-device-plugin/build/sriovdp /usr/bin/
COPY --from=builder /tmp/ddptool/ddptool /usr/bin/
Expand Down

0 comments on commit 4cbfd8c

Please sign in to comment.