Skip to content

Commit

Permalink
ci: fixed docker image
Browse files Browse the repository at this point in the history
Signed-off-by: Vincenzo Palazzo <[email protected]>
  • Loading branch information
vincenzopalazzo committed Jul 15, 2022
1 parent d35be11 commit 19ed329
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea
.vscode
lambda
9 changes: 9 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
# and commit this file to your remote git repository to share the goodness with others.

tasks:
- init: make dep && make
command: make run


8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
FROM golang:alpine3.16
LABEL maintainer="Vincenzo Palazzo (@vincenzopalazzo) [email protected]"

RUN make dep
workdir lnlambda

CMD [ "make", "run" ]
COPY . .

RUN go get -d ./...

CMD [ "go", "run", "main.go" ]
Binary file removed lambda
Binary file not shown.

0 comments on commit 19ed329

Please sign in to comment.