-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add export package to prevent future errors.
- Loading branch information
V
committed
Jan 30, 2025
1 parent
b1b07d8
commit e2ff757
Showing
4 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM openjdk:11 | ||
|
||
LABEL org.opencontainers.image.source https://github.com/cal-itp/data-infra | ||
LABEL org.opencontainers.image.source=https://github.com/cal-itp/data-infra | ||
|
||
ENV GTFS_RT_VALIDATOR_JAR=/gtfs-realtime-validator.jar | ||
ENV GTFS_RT_VALIDATOR_VERSION=v1.0.0 | ||
|
@@ -10,7 +10,7 @@ RUN apt-get update -y \ | |
|
||
RUN curl -sSL https://install.python-poetry.org | python3 - | ||
ENV PATH="/root/.local/bin:${PATH}" | ||
|
||
RUN poetry self add [email protected] | ||
# from https://github.com/MobilityData/gtfs-realtime-validator/packages/1268973 | ||
COPY ./gtfs-realtime-validator-lib-1.0.0-20220223.003525-2.jar ${GTFS_RT_VALIDATOR_JAR} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
FROM openjdk:11 | ||
|
||
LABEL org.opencontainers.image.source https://github.com/cal-itp/data-infra | ||
LABEL org.opencontainers.image.source=https://github.com/cal-itp/data-infra | ||
|
||
RUN apt-get update -y \ | ||
&& apt-get install -y python3 python3-pip python3-venv libunwind-dev liblz4-dev | ||
|
||
RUN curl -sSL https://install.python-poetry.org | python3 - | ||
ENV PATH="/root/.local/bin:${PATH}" | ||
RUN poetry self add [email protected] | ||
|
||
# v2 from https://github.com/MobilityData/gtfs-validator/releases/download/v2.0.0/gtfs-validator-v2.0.0_cli.jar | ||
ENV V2_VALIDATOR_JAR=/gtfs-validator-v2.0.0_cli.jar | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
FROM --platform=linux/amd64 python:3.9 as build | ||
|
||
LABEL org.opencontainers.image.source https://github.com/cal-itp/data-infra | ||
LABEL org.opencontainers.image.source=https://github.com/cal-itp/data-infra | ||
|
||
RUN apt-get update && apt-get install -y libunwind-dev liblz4-dev | ||
|
||
RUN curl -sSL https://install.python-poetry.org | python3 - | ||
ENV PATH="/root/.local/bin:${PATH}" | ||
RUN poetry self add [email protected] | ||
|
||
WORKDIR /app | ||
|
||
|