Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated Dockerfile from Roland #79

Merged
merged 5 commits into from
Nov 21, 2024
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
12 changes: 8 additions & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Docker

on:
push:
branches: [ "main" ]
branches:
- "main"
- "**" # This will match all branches
workflow_dispatch:

env:
Expand All @@ -22,21 +24,23 @@ jobs:
uses: actions/checkout@v3

- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch

- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
uses: docker/build-push-action@v3
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
Expand Down
12 changes: 11 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ RUN ./configure --prefix=/meme --with-url=http://meme-suite.org --enable-build-l
RUN make
RUN make install

# rmats-turbo
# rmats-turbo (check)
RUN apt-get update
RUN apt-get install -y subread bedtools samtools tabix
WORKDIR /
Expand All @@ -53,3 +53,13 @@ RUN ./build_rmats

# environment variables
ENV PATH="$PATH:/rmats-turbo:/meme/bin:/usr/local/bin"

# Install the splicekit package
WORKDIR /usr/splicekit
COPY . /usr/splicekit

# Install the package from the current repository
RUN pip install .

# Run the application
CMD ["splicekit"]
Loading