Skip to content

Commit f914f65

Browse files
authored
Merge pull request #825 from mythi/PR-2021-079
small fixes for the release
2 parents 3cc0e3e + b3aaecb commit f914f65

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

demo/opae-nlb-demo/Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,10 @@ FROM debian:unstable-slim
3131

3232
COPY --from=builder /usr/src/opae/opae-sdk-*/build/bin/nlb* /usr/local/bin/
3333
COPY --from=builder /usr/src/opae/opae-sdk-*/build/lib /usr/local/lib/
34+
COPY --from=builder /usr/lib64/libjson-c.so.4.0.0 /usr/local/lib/
35+
COPY --from=builder /usr/share/licenses/json-c /usr/local/share/package-licenses/json-c
3436
RUN rm -rf /usr/local/lib/python3
3537
RUN ldconfig
3638

37-
RUN echo "deb-src http://deb.debian.org/debian unstable main" >> \
38-
/etc/apt/sources.list.d/deb-src.list && \
39-
apt update && apt install -y libjson-c4 && \
40-
mkdir -p /usr/local/share/package-sources && \
41-
cd /usr/local/share/package-sources && \
42-
apt --download-only source libjson-c4 && cd / && \
43-
rm -v /etc/apt/sources.list.d/deb-src.list && apt clean
44-
4539
COPY test_fpga.sh /usr/local/bin/
4640
ENTRYPOINT ["/usr/local/bin/test_fpga.sh"]

deployments/operator/samples/deviceplugin_v1_sgxdeviceplugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ spec:
99
provisionLimit: 110
1010
logLevel: 4
1111
nodeSelector:
12-
feature.node.kubernetes.io/custom-intel.sgx: 'true'
12+
feature.node.kubernetes.io/intel.sgx: 'true'

0 commit comments

Comments
 (0)