You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by rd...@apache.org on 2023/05/21 12:30:50 UTC

[incubator-teaclave-sgx-sdk] branch master updated: Fix for Dockerfile smell DL3020

This is an automated email from the ASF dual-hosted git repository.

rduan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-sgx-sdk.git


The following commit(s) were added to refs/heads/master by this push:
     new f1776a7c Fix for Dockerfile smell DL3020
f1776a7c is described below

commit f1776a7cec1caab2959813f87bb4924805b92011
Author: Giovanni Rosa <g....@studenti.unimol.it>
AuthorDate: Fri Apr 14 01:25:21 2023 +0200

    Fix for Dockerfile smell DL3020
    
    Signed-off-by: Giovanni Rosa <g....@studenti.unimol.it>
---
 dockerfile/Dockerfile.1804.nightly | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dockerfile/Dockerfile.1804.nightly b/dockerfile/Dockerfile.1804.nightly
index cda69142..0c2f163b 100644
--- a/dockerfile/Dockerfile.1804.nightly
+++ b/dockerfile/Dockerfile.1804.nightly
@@ -11,13 +11,13 @@ ENV BINUTILS_DIST="ubuntu18.04"
 ENV LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
 ENV LD_RUN_PATH=/usr/lib:/usr/local/lib
 
-ADD 02_binutils.sh /root
+COPY 02_binutils.sh /root
 RUN bash /root/02_binutils.sh
 
 ENV SDK_DIST="INTEL_BUILT"
 ENV SDK_URL="https://download.01.org/intel-sgx/sgx-linux/2.17.1/distro/ubuntu18.04-server/sgx_linux_x64_sdk_2.17.101.1.bin"
 #ENV SDK_DIST="SELF_BUILT"
-ADD 03_sdk.sh /root
+COPY 03_sdk.sh /root
 RUN bash /root/03_sdk.sh
     
 # Sixth, PSW
@@ -26,13 +26,13 @@ ENV CODENAME        bionic
 ENV VERSION         2.17.100.3-bionic1
 ENV DCAP_VERSION    1.14.100.3-bionic1
 
-ADD 04_psw.sh /root
+COPY 04_psw.sh /root
 RUN bash /root/04_psw.sh
 
 # Seventh, Rust
 
 ENV rust_toolchain  nightly-2022-02-23
-ADD 05_rust.sh /root
+COPY 05_rust.sh /root
 RUN bash /root/05_rust.sh
 
 ENV DEBIAN_FRONTEND=


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org