Skip to content

Commit

Permalink
Remove Taskfile alltogether
Browse files Browse the repository at this point in the history
  • Loading branch information
bgandon committed May 10, 2024
1 parent 99e91d2 commit e22e4e4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 88 deletions.
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# Binaries
build/*

# Taskfile
.task

# Task installation in Travis
bin/task

# Editor
.idea/
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

16 changes: 13 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@ ARG alpine


FROM ${golang} AS builder
RUN curl -sL https://taskfile.dev/install.sh | sh /dev/stdin v3.33.1

ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -y -qq update \
&& apt-get -y -qq install "make"

ADD . /go/src/github.com/telia-oss/github-pr-resource
WORKDIR /go/src/github.com/telia-oss/github-pr-resource
RUN ./bin/task build

RUN go version \
&& make all



FROM ${alpine} AS resource
RUN apk add --update --no-cache \
Expand All @@ -19,5 +27,7 @@ COPY scripts/askpass.sh /usr/local/bin/askpass.sh
COPY --from=builder /go/src/github.com/telia-oss/github-pr-resource/build /opt/resource
RUN chmod +x /opt/resource/*



FROM resource
LABEL MAINTAINER=telia-oss
LABEL MAINTAINER=cloudfoundry-community
66 changes: 0 additions & 66 deletions Taskfile.yml

This file was deleted.

0 comments on commit e22e4e4

Please sign in to comment.