Skip to content

Commit 1a54a60

Browse files
committed
update Dockerfile
1 parent b163a4f commit 1a54a60

2 files changed

Lines changed: 3 additions & 20 deletions

File tree

Docker/Dockerfile

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -128,26 +128,9 @@ RUN ANDROID_NDK_ZIP="android-ndk-${ANDROID_NDK_VERSION}-linux.zip" && \
128128
rm -rf "/tmp/${ANDROID_NDK_ZIP}"
129129

130130
# Copy scripts and make them executable
131-
COPY scripts/ /opt/scripts/
131+
COPY Docker/scripts/ /opt/scripts/
132132
RUN chmod +x /opt/scripts/*.sh
133133

134-
# Copy and extract pySecureMR
135-
COPY pySecureMR-dev.tar.gz /tmp/
136-
RUN cd /tmp && \
137-
mkdir -p /tmp/pySecureMR-dev && \
138-
tar xzf pySecureMR-dev.tar.gz -C /tmp/pySecureMR-dev && \
139-
mkdir -p /pySecureMR && \
140-
if [ -d /tmp/pySecureMR-dev/pySecureMR-dev ]; then \
141-
mv /tmp/pySecureMR-dev/pySecureMR-dev/* /pySecureMR/; \
142-
elif [ -d /tmp/pySecureMR-dev/pySecureMR ]; then \
143-
mv /tmp/pySecureMR-dev/pySecureMR/* /pySecureMR/; \
144-
else \
145-
mv /tmp/pySecureMR-dev/* /pySecureMR/; \
146-
fi && \
147-
cd /pySecureMR && \
148-
pip3 install --no-build-isolation --no-deps . && \
149-
rm -rf /tmp/pySecureMR-dev.tar.gz /tmp/pySecureMR-dev
150-
151134
# Add QNN SDK binaries to PATH for global access
152135
ENV PATH=$QNN_SDK_ROOT/bin:$QNN_SDK_ROOT/bin/x86_64-linux-clang:${QNN_SDK_ROOT}/${MY_ENV_NAME}/bin:$ANDROID_NDK_ROOT:/usr/local/android-sdk/platform-tools:/opt/scripts:$PATH
153136

@@ -160,5 +143,5 @@ WORKDIR /app
160143

161144
# Copy app config files
162145
RUN mkdir -p /opt/config
163-
COPY HtpConfigFile.json /opt/config/HtpConfigFile.json
164-
COPY PerfSetting.conf /opt/config/PerfSetting.conf
146+
COPY Docker/HtpConfigFile.json /opt/config/HtpConfigFile.json
147+
COPY Docker/PerfSetting.conf /opt/config/PerfSetting.conf

Docker/pySecureMR-dev.tar.gz

-65.8 MB
Binary file not shown.

0 commit comments

Comments
 (0)