Skip to content

Commit 1ba4430

Browse files
committed
test
1 parent 4ab1cf7 commit 1ba4430

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

Dockerfile

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
FROM homebrew/brew:4.5.6
1+
FROM python:3.13-slim
22

3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
git \
5+
&& rm -rf /var/lib/apt/lists/*
6+
7+
RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" \
8+
&& echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /etc/profile \
9+
&& eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
10+
311
COPY homebrew_releaser homebrew_releaser
412
COPY setup.py setup.py
513

6-
RUN brew install python@3.13 \
7-
&& python3 -m venv /home/linuxbrew/venv \
8-
&& /home/linuxbrew/venv/bin/pip install . \
9-
&& chown -R linuxbrew:linuxbrew /home/linuxbrew
14+
RUN pip install .
1015

11-
ENTRYPOINT [ "/home/linuxbrew/venv/bin/python3", "/home/linuxbrew/homebrew_releaser/app.py" ]
16+
ENTRYPOINT [ "python", "/homebrew_releaser/app.py" ]

0 commit comments

Comments
 (0)