Skip to content

Commit d808562

Browse files
committed
build from git
1 parent 90f2e0c commit d808562

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,19 @@ FROM ubuntu:24.10 as build
1010
# Install deps
1111
RUN \
1212
apt-get update && \
13-
apt-get install -y bzip2 pkg-config make g++ rustc cargo libssl-dev qtbase5-dev libzmq3-dev libboost-dev
13+
apt-get install -y bzip2 git pkg-config make g++ rustc cargo libssl-dev qtbase5-dev libzmq3-dev libboost-dev
1414

1515
WORKDIR /build
1616

1717
ARG VERSION
1818

19-
ADD https://github.com/fastly/pushpin/releases/download/v${VERSION}/pushpin-${VERSION}.tar.bz2 .
20-
21-
RUN tar xf pushpin-${VERSION}.tar.bz2 && mv pushpin-${VERSION} pushpin
19+
RUN git clone https://github.com/fastly/pushpin.git
2220

2321
WORKDIR /build/pushpin
2422

23+
RUN git checkout 3167ddb
24+
RUN cargo fetch
25+
2526
RUN make RELEASE=1 PREFIX=/usr CONFIGDIR=/etc
2627
RUN make RELEASE=1 PREFIX=/usr CONFIGDIR=/etc check
2728
RUN make RELEASE=1 PREFIX=/usr CONFIGDIR=/etc INSTALL_ROOT=/build/out install

0 commit comments

Comments
 (0)