netology-code / netology-code/ibdev-homeworks

02_dev

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
8
Forks
31
Avg merge
1h 10m
Merged PRs (30d)
1

Description

Домашнее задание к занятию «1.2. Популярные языки, системы сборки, управления зависимостями»

официальный образ openjdk:11 больше не поддерживается и был удалён из Docker Hub (или его теги более не доступны). Вместо него рекомендуется использовать образы на основе Eclipse Temurin, которые являются современной заменой.

Аналогично, образ maven:3-jdk-11 также устарел и лучше заменить его на maven:3-eclipse-temurin-11

Stage 1: сборка

FROM maven:3-eclipse-temurin-11 AS builder
WORKDIR /app
COPY . .
RUN mvn package

Stage 2: финальный образ

FROM eclipse-temurin:11
COPY --from=builder /app/target/ibdev-1.0-SNAPSHOT.jar /app/app.jar
WORKDIR /app
CMD ["java", "-jar", "app.jar"]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the Dockerfile or Docker configuration that builds ibdev and compare its base images with the versions shown in the issue. Replace the unavailable OpenJDK and Maven JDK 11 images with the specified Eclipse Temurin images, then build the image and confirm that the application starts from the generated JAR.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
build-system, devops
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.