Skip to content

Commit aa32dff

Browse files
committed
incl. docker release
1 parent b6fcb1a commit aa32dff

3 files changed

Lines changed: 54 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Publish Docker image
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
push_to_registry:
9+
name: Push Docker image to Docker Hub
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out the repo
13+
uses: actions/checkout@v4
14+
15+
- name: Log in to Docker Hub
16+
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
17+
with:
18+
username: ${{ secrets.DOCKER_USERNAME }}
19+
password: ${{ secrets.DOCKER_PASSWORD }}
20+
21+
- name: Extract metadata (tags, labels) for Docker
22+
id: meta
23+
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
24+
with:
25+
images: trausch/vc
26+
27+
- name: Build and push Docker image
28+
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
29+
with:
30+
push: true
31+
tags: ${{ steps.meta.outputs.tags }}
32+
labels: ${{ steps.meta.outputs.labels }}

Dockerfile

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,37 @@
11
# use the ubuntu base image
2-
FROM ubuntu:18.04
2+
FROM ubuntu:22.04
33

44
# maintainer
55
MAINTAINER Tobias Rausch rausch@embl.de
66

77
# install required apt packages
8-
RUN apt-get update && apt-get install -yq \
8+
RUN apt-get update && apt-get install -y \
9+
autoconf \
910
build-essential \
1011
curl \
1112
g++ \
1213
git \
1314
cmake \
1415
gthumb \
15-
python \
16+
libcurl4-gnutls-dev \
17+
libboost-date-time-dev \
18+
libboost-program-options-dev \
19+
libboost-system-dev \
20+
libboost-filesystem-dev \
21+
libboost-iostreams-dev \
22+
libbz2-dev \
23+
libdeflate-dev \
24+
libhdf5-dev \
25+
libncurses-dev \
26+
liblzma-dev \
27+
python3 \
1628
datamash \
1729
gthumb \
1830
pkg-config \
1931
wget \
20-
&& apt-get clean
32+
zlib1g-dev \
33+
&& apt-get clean \
34+
&& rm -rf /var/lib/apt/lists/*
2135

2236
# install tutorial tools
2337
RUN cd /opt \

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[![Docker CI](https://github.com/tobiasrausch/vc/workflows/Docker%20CI/badge.svg)](https://hub.docker.com/r/trausch/vc/)
2+
[![GitHub license](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://github.com/tobiasrausch/vc/blob/master/LICENSE)
3+
[![GitHub Releases](https://img.shields.io/github/release/tobiasrausch/vc.svg)](https://github.com/tobiasrausch/vc/releases)
4+
15
# Structural variant calling tutorial using [delly](https://github.com/dellytools/delly).
26

37
## Installation - Linux

0 commit comments

Comments
 (0)