Skip to content
Closed
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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ This repository contains both the OpenWhisk runtime for Golang Actions, as well

# License
[Apache 2.0](LICENSE.txt)


1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath "cz.alenkacz:gradle-scalafmt:${gradle.scalafmt.version}"
Expand Down
2 changes: 1 addition & 1 deletion golang1.17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RUN echo "deb http://deb.debian.org/debian buster-backports main contrib non-fre
librdkafka-dev=0.11.6-1.1 &&\
# Cleanup apt data, we do not need them later on.
apt-get clean && rm -rf /var/lib/apt/lists/* &&\
go get -u github.com/go-delve/delve/cmd/dlv@v1.8.1 &&\
go install github.com/go-delve/delve/cmd/dlv@v1.8.1 &&\
Copy link
Member

@upgle upgle Aug 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is required to build a docker image 👍

go get: installing executables with 'go get' in module mode is deprecated.
        Use 'go install pkg@version' instead.
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.
# github.com/rivo/uniseg
pkg/mod/github.com/rivo/uniseg@v0.3.1/properties.go:130:6: missing function body
pkg/mod/github.com/rivo/uniseg@v0.3.1/properties.go:130:20: syntax error: unexpected [, expecting (
note: module requires Go 1.18
The command '/bin/sh -c echo "deb http://deb.debian.org/debian buster-backports main contrib non-free"      >>/etc/apt/sources.list &&    echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections &&    apt-get update &&    apt-get upgrade -y --no-install-recommends &&    apt-get install -y apt-utils &&    apt-get install -y      curl      jq      git      zip      vim &&    apt-get -y install      librdkafka1=0.11.6-1.1      librdkafka++1=0.11.6-1.1 &&    apt-get -y install      librdkafka-dev=0.11.6-1.1 &&    apt-get clean && rm -rf /var/lib/apt/lists/* &&    go get -u github.com/go-delve/delve/cmd/dlv@v1.8.1 &&    mkdir /action' returned a non-zero code: 2

mkdir /action

WORKDIR /action
Expand Down