Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,16 @@ jobs:
set -e
make INSTALL_ROOT="${PWD}"/ROOT install
find ROOT | sort

docker:
name: Check Dockerfile
runs-on: ubuntu-latest
steps:
- name: 'Checkout Git branch'
uses: actions/checkout@v3
with:
submodules: true

- name: 'Build'
run: |-
docker build .
24 changes: 17 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
FROM debian:8.11
FROM ubuntu:22.04

RUN apt update && apt install -y \
make g++ libapr1-dev libsvn-dev libqt4-dev \
git subversion \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir /usr/local/svn2git
# Change locale to let svn handle international characters
ENV LC_ALL C.UTF-8

ADD . /usr/local/svn2git
# Install dependencies
RUN apt-get update && apt-get install --yes --no-install-recommends \
build-essential \
libapr1-dev \
libsvn-dev \
qt5-qmake \
qtbase5-dev \
git \
subversion \
&& rm -rf /var/lib/apt/lists/*

# Build the binary
RUN mkdir /usr/local/svn2git
ADD . /usr/local/svn2git
RUN cd /usr/local/svn2git && qmake && make

# Docker interface
WORKDIR /workdir
CMD /usr/local/svn2git/svn-all-fast-export