Skip to content

Commit a1d3f37

Browse files
committed
Update builder.dockerfile
1 parent 54b9d9a commit a1d3f37

3 files changed

Lines changed: 23 additions & 5 deletions

File tree

.github/workflows/ci-builder.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@ jobs:
1414
file: docker/builder.dockerfile
1515
push: false
1616
tags: turnertech/nmbs-builder:trixie
17-
target: nmbs-build
1817
build-args: |
1918
DEBIAN_RELEASE=trixie

.github/workflows/ci-nmbs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@ jobs:
1616
file: docker/build.dockerfile
1717
push: false
1818
tags: turnertech/nmbs:latest
19-
target: nmbs-build
2019
build-args: |
2120
DEBIAN_RELEASE=trixie

docker/builder.dockerfile

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
1-
FROM ubuntu:latest
2-
LABEL authors="luke"
1+
ARG DEBIAN_RELEASE=trixie
2+
FROM debian:${DEBIAN_RELEASE}
33

4-
ENTRYPOINT ["top", "-b"]
4+
# Note, we dont use the prepare script here as it would be sub-optimal for docker layering. Slight divergence may occur,
5+
# if so just correct it manually. This wont change that often!
6+
RUN apt-get update && apt-get install --no-install-recommends --yes \
7+
build-essential \
8+
cmake \
9+
debhelper \
10+
doxygen \
11+
help2man \
12+
libargparse-dev \
13+
libexiv2-dev \
14+
libglib2.0-dev \
15+
libgtest-dev \
16+
libnautilus-extension-dev \
17+
libxml2-dev \
18+
ninja-build \
19+
pkg-config \
20+
xml-core && \
21+
useradd -ms /bin/bash nmbs
22+
23+
USER nmbs
24+
WORKDIR /home/nmbs

0 commit comments

Comments
 (0)