-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (25 loc) · 859 Bytes
/
Dockerfile
File metadata and controls
34 lines (25 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM ubuntu
# Definir o frontend do debconf para não interativo
ENV DEBIAN_FRONTEND=noninteractive
# Definir o fuso horário padrão para evitar prompts interativos
RUN ln -fs /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime && \
echo "America/Sao_Paulo" > /etc/timezone
# Atualizar pacotes e instalar dependências necessárias
RUN apt-get update && apt-get install -y \
openjdk-17-jdk \
tesseract-ocr \
tesseract-ocr-eng \
tesseract-ocr-ita \
git \
unzip \
wget \
&& apt-get clean
RUN apt update && apt upgrade
RUN apt install openjdk-21-jdk -y
# Clonar o repositório do Audiveris
RUN git clone https://github.com/Audiveris/audiveris.git /opt/audiveris
WORKDIR /opt/audiveris
# Construir o projeto usando Gradle
RUN ./gradlew clean build
# Permitir execução com argumentos
ENTRYPOINT ["./gradlew", "run"]