Skip to content

Commit

Permalink
docker: remove repo cp dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmeaton committed Nov 30, 2023
1 parent ba4f5f0 commit efe6afa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- name: checkout repo
uses: actions/checkout@v3

- name: download binary from build
uses: actions/download-artifact@v3
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- name: checkout repo
uses: actions/checkout@v3

# ------------------------------------------------------------------------
# How we execute the program depends on the architecture
Expand Down Expand Up @@ -109,7 +107,8 @@ jobs:
- name: example 2
run: |
${{ env.RUN_CMD }} run --dataset-dir dataset/sars-cov-2/${{ env.DATASET_TAG }} --output-dir output/example2 --alignment data/example2.fasta
wget https://raw.githubusercontent.com/phac-nml/rebar/${{ github.sha }}/data/example2.fasta
${{ env.RUN_CMD }} run --dataset-dir dataset/sars-cov-2/${{ env.DATASET_TAG }} --output-dir output/example2 --alignment example2.fasta
${{ env.RUN_CMD }} plot --dataset-dir dataset/sars-cov-2/${{ env.DATASET_TAG }} --run-dir output/example2
- name: toy1
Expand Down
5 changes: 0 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ FROM alpine:3

COPY target/x86_64-unknown-linux-musl/release/rebar /usr/bin/rebar

RUN mkdir -p /rebar/dataset

ADD ./data /rebar/data
COPY ./dataset/toy* /rebar/dataset

WORKDIR "/rebar"

RUN set -eux

0 comments on commit efe6afa

Please sign in to comment.