Skip to content

Commit 423456b

Browse files
committed
Ajuste Dockerfile-build
1 parent aa47872 commit 423456b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Dockerfile-build

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@ ARG nameSpace
55
ARG DskipTests
66
WORKDIR /app
77
COPY . /app
8-
RUN apt update && apt upgrade
9-
RUN apt install python3-pip
10-
RUN pip install nexus3-cli
8+
RUN wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz
9+
RUN tar -xf Python-3.10.*.tgz
10+
RUN cd Python-3.10.*/
11+
RUN cd Python-3.10.*/
12+
RUN ./configure --enable-optimizations
13+
RUN make -j 4
14+
RUN make altinstall
1115
RUN mvn package -f pom-base.xml -Dversao=$nameSpace $DskipTests
1216

0 commit comments

Comments
 (0)