File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,33 +8,10 @@ RUN yum update -y
88RUN yum groupinstall -y "Development Tools"
99RUN yum install -y cmake
1010
11- # # Update package manager and install necessary dependencies
12- # RUN yum update -y && \
13- # yum install -y gcc-c++ make openssl-devel
14-
15- # # Download and install CMake
16- # RUN curl -LO https://github.com/Kitware/CMake/releases/download/v3.26.3/cmake-3.26.3.tar.gz && \
17- # tar -xzvf cmake-3.26.3.tar.gz && \
18- # cd cmake-3.26.3 && \
19- # ./bootstrap --system-curl && \
20- # make -j$(nproc) && \
21- # make install
22-
23- # # Cleanup
24- # RUN rm -rf cmake-3.26.3 cmake-3.26.3.tar.gz
25-
26- # # Set PATH environment variable to include CMake
27- # ENV PATH="/usr/local/bin:${PATH}"
28-
2911RUN make all
3012
31- RUN ls -la /build/
32- RUN ls -la /build/build/
33-
34- RUN ls -la /opt/
35- RUN ls -la /opt/*/
36-
37- RUN zip -r /build/imagemagick-layer.zip /opt/
13+ WORKDIR /opt
14+ RUN zip -r /build/imagemagick-layer.zip .
3815
3916RUN mkdir /dist && \
4017 echo "cp /build/imagemagick-layer.zip /dist/imagemagick-layer.zip" > /entrypoint.sh && \
You can’t perform that action at this time.
0 commit comments