File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,12 +2,11 @@ FROM python:3.13-slim
22
33WORKDIR /app
44
5- ARG branch= 'master '
5+ ARG REVISION= 'v8.5.9 '
66
77RUN apt-get update \
88 && apt-get install -y --no-install-recommends git \
9- && git clone https://github.com/MLB-LED-Scoreboard/mlb-led-scoreboard.git /app \
10- && git checkout $branch \
9+ && git clone --depth 1 --branch $REVISION https://github.com/MLB-LED-Scoreboard/mlb-led-scoreboard.git /app \
1110 && apt-get purge -y git \
1211 && apt-get autoremove -y \
1312 && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ Runs the [MLB LED Scoreboard](https://github.com/MLB-LED-Scoreboard/mlb-led-scor
1212docker build -t mlb-scoreboard .
1313```
1414
15- Optionally specify a branch or commit SHA to build
15+ Optionally specify a branch, tag, or commit SHA to build
1616
1717``` bash
18- docker build --build-arg branch=some- branch-name -t mlb-led-scoreboard .
18+ docker build --build-arg REVISION= < branch,version,SHA > -t mlb-led-scoreboard .
1919```
2020
2121## Run
You can’t perform that action at this time.
0 commit comments