File tree Expand file tree Collapse file tree 1 file changed +2
-25
lines changed Expand file tree Collapse file tree 1 file changed +2
-25
lines changed Original file line number Diff line number Diff line change @@ -8,33 +8,10 @@ RUN yum update -y
8
8
RUN yum groupinstall -y "Development Tools"
9
9
RUN yum install -y cmake
10
10
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
-
29
11
RUN make all
30
12
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 .
38
15
39
16
RUN mkdir /dist && \
40
17
echo "cp /build/imagemagick-layer.zip /dist/imagemagick-layer.zip" > /entrypoint.sh && \
You can’t perform that action at this time.
0 commit comments