Skip to content

Commit

Permalink
ci: Use patched MOTIS to fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
jbruechert committed Nov 28, 2024
1 parent 7c7a9b1 commit b441cdf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ci/container/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ RUN GOPROXY=direct GOBIN=/usr/local/bin/ go install github.com/public-transport/

FROM docker.io/debian:bookworm-slim

ARG MOTIS_VERSION=v0.12.17
ARG MOTIS_VERSION=v0.12.18.1

RUN apt-get update -y && \
apt-get install -y --no-install-recommends git python3-requests python3-jinja2 python3-pycountry wget bzip2 rsync openssh-client && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists/*

COPY --from=build /usr/local/bin/gtfsclean /usr/local/bin/gtfsclean
RUN wget -qO - https://github.com/motis-project/motis/releases/download/${MOTIS_VERSION}/motis-linux-amd64.tar.bz2 | tar -C /opt/ -jx
RUN wget -qO - https://github.com/jbruechert/motis/releases/download/${MOTIS_VERSION}/motis-linux-amd64.tar.bz2 | tar -C /opt/ -jx
ENV PATH=/opt/motis:$PATH
4 changes: 2 additions & 2 deletions ci/container/Containerfile-devcontainer
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN GOPROXY=direct GOBIN=/usr/local/bin/ go install github.com/public-transport/

FROM docker.io/debian:bookworm-slim

ARG MOTIS_VERSION=v0.12.17
ARG MOTIS_VERSION=v0.12.18.1
ARG USERNAME=transitous
ARG USER_UID=1000
ARG USER_GID=$USER_UID
Expand All @@ -16,7 +16,7 @@ RUN apt-get update -y && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists/*

RUN wget -qO - https://github.com/motis-project/motis/releases/download/${MOTIS_VERSION}/motis-linux-amd64.tar.bz2 | tar -C /opt/ -jx
RUN wget -qO - https://github.com/jbruechert/motis/releases/download/${MOTIS_VERSION}/motis-linux-amd64.tar.bz2 | tar -C /opt/ -jx
COPY --from=build /usr/local/bin/gtfsclean /usr/local/bin/gtfsclean
ENV PATH=/opt/motis:$PATH

Expand Down

0 comments on commit b441cdf

Please sign in to comment.