Skip to content

Commit

Permalink
chore: forcing new build
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushcgcj committed Dec 5, 2024
1 parent a02f3d1 commit 5d8ba6e
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 25 deletions.
8 changes: 0 additions & 8 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
### Builder
FROM ghcr.io/graalvm/native-image:ol8-java17-22.3.3 AS build

# Install Maven
Expand All @@ -15,18 +14,11 @@ RUN microdnf update --nodocs -y && \
ENV MAVEN_HOME=/opt/maven
ENV PATH=$MAVEN_HOME/bin:$PATH

# Receiving app version
ARG APP_VERSION=0.0.1

# Copy
WORKDIR /app
COPY pom.xml ./
COPY src ./src

# Setting app version
RUN mvn versions:set -DnewVersion=${APP_VERSION} -f pom.xml -DskipTests -Dtests.skip=true -Dskip.unit.tests=true && \
mvn versions:commit -f pom.xml -DskipTests -Dtests.skip=true -Dskip.unit.tests=true

# Build
RUN mvn -Pnative native:compile

Expand Down
2 changes: 0 additions & 2 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Build static files
FROM node:alpine3.16 AS build

ARG APP_VERSION=0.0.1

WORKDIR /app
COPY . .
RUN npm ci && npm run build
Expand Down
7 changes: 0 additions & 7 deletions legacy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,11 @@ RUN microdnf update --nodocs -y && \
ENV MAVEN_HOME=/opt/maven
ENV PATH=$MAVEN_HOME/bin:$PATH

# Receiving app version
ARG APP_VERSION=0.0.1

# Copy
WORKDIR /app
COPY pom.xml ./
COPY src ./src

# Setting app version
RUN mvn versions:set -DnewVersion=${APP_VERSION} -f pom.xml -DskipTests -Dtests.skip=true -Dskip.unit.tests=true && \
mvn versions:commit -f pom.xml -DskipTests -Dtests.skip=true -Dskip.unit.tests=true

# Build
RUN mvn -Pnative native:compile

Expand Down
2 changes: 1 addition & 1 deletion legacydb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ USER oracle

HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 CMD ["sh", "-c", "${ORACLE_BASE}/healthcheck.sh >/dev/null || exit 1"]

ENTRYPOINT ["container-entrypoint.sh"]
ENTRYPOINT ["container-entrypoint.sh"]
7 changes: 0 additions & 7 deletions processor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,11 @@ RUN apt update -y && \
ENV MAVEN_HOME=/opt/maven
ENV PATH=$MAVEN_HOME/bin:$PATH

# Receiving app version
ARG APP_VERSION=0.0.1

# Copy
WORKDIR /app
COPY pom.xml ./
COPY src ./src

# Setting app version
RUN mvn versions:set -DnewVersion=${APP_VERSION} -f pom.xml -DskipTests -Dtests.skip=true -Dskip.unit.tests=true && \
mvn versions:commit -f pom.xml -DskipTests -Dtests.skip=true -Dskip.unit.tests=true

# Build
RUN mvn clean package -DskipTests -Dtests.skip=true -Dskip.unit.tests=true

Expand Down

0 comments on commit 5d8ba6e

Please sign in to comment.