Skip to content

Commit

Permalink
reupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuchwald committed Jul 16, 2023
1 parent 54912b6 commit 6aad4ac
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
paths:
- Dockerfile
- packages.txt
- goimports.txt
- .github/workflows/docker.yaml
branches: [v3, test]
pull_request:
Expand Down
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ FROM ubuntu:focal
ADD packages.txt /tmp
ADD goimports.txt /tmp
ADD go.mod /
ADD u_test.go /
ADD nodejs.list /etc/apt/sources.list.d
ADD nodesource.gpg.asc /etc/apt/trusted.gpg.d
ENV DEBIAN_FRONTEND noninteractive
Expand All @@ -20,9 +19,7 @@ ENV GOROOT /usr/lib/go
ENV GOPATH /go
ENV PATH $GOPATH/bin:$GOROOT/bin:$PATH

RUN grep '^[^ #]' /tmp/goimports.txt | xargs go get && rm -rf /tmp/goimports.txt

RUN mkdir /dwnlds && mv /go.mod /dwnlds && mv /u_test.go /dwnlds && cd /dwnlds && go mod tidy && go test u_test.go && cd / && rm -rf /dwnlds
RUN grep '^[^ #]' /tmp/goimports.txt | xargs go get && rm -rf /tmp/goimports.txt && rm /go.mod

# TODO: cambiar a $INPUT_PATH antes de correr $INPUT_COMMAND.
ENTRYPOINT ["/bin/sh", "-c"]
13 changes: 0 additions & 13 deletions u_test.go

This file was deleted.

0 comments on commit 6aad4ac

Please sign in to comment.