Skip to content

Commit e526271

Browse files
committed
chore(controller-sdk-go): use podman replace docker
1 parent 016fac5 commit e526271

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export GO15VENDOREXPERIMENT=1
99

1010
PKG_DIRS := ./...
1111

12-
DEV_ENV_CMD := docker run --rm -v ${CURDIR}:${DEV_ENV_WORK_DIR} -w ${DEV_ENV_WORK_DIR} ${DEV_ENV_IMAGE}
12+
DEV_ENV_CMD := podman run --rm -v ${CURDIR}:${DEV_ENV_WORK_DIR} -w ${DEV_ENV_WORK_DIR} ${DEV_ENV_IMAGE}
1313

1414
bootstrap:
1515
${DEV_ENV_CMD} go mod vendor

api/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type Config struct {
3737
Healthcheck map[string]*Healthchecks `json:"healthcheck,omitempty"`
3838
// Tags restrict applications to run on k8s nodes with that label.
3939
Tags map[string]interface{} `json:"tags,omitempty"`
40-
// Registry is a key-value pair to provide authentication for docker registries.
40+
// Registry is a key-value pair to provide authentication for container registries.
4141
// The key is the username and the value is the password.
4242
Registry map[string]interface{} `json:"registry,omitempty"`
4343
// Created is the time that the application was created and cannot be updated.

builds/builds.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ func List(c *drycc.Client, appID string, results int) ([]api.Build, int, error)
2626
return builds, count, reqErr
2727
}
2828

29-
// New creates a build for an app from an docker image.
29+
// New creates a build for an app from an container image.
3030
// By default this will create a cmd process that runs the CMD command from the Dockerfile.
3131
// If you want to define more process types, you can pass a Procfile map,
3232
// where the key is the process name and the value is the command for that process.
33-
// To pull from a private docker registry, a custom username and password must be set in the app's
33+
// To pull from a private container registry, a custom username and password must be set in the app's
3434
// configuration object. This can be done with `drycc registry:set` or by using this SDK.
3535
//
3636
// This example adds custom registry credentials to an app:

hooks/hooks.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"encoding/json"
88
"fmt"
99

10-
"github.com/drycc/controller-sdk-go"
10+
drycc "github.com/drycc/controller-sdk-go"
1111
"github.com/drycc/controller-sdk-go/api"
1212
)
1313

@@ -51,7 +51,7 @@ func GetAppConfig(c *drycc.Client, username, app string) (api.Config, error) {
5151
}
5252

5353
// CreateBuild creates a new release of an application. It returns the version of the new release.
54-
// gitSha should be the first 8 characters of the git commit sha. Image is either the docker image
54+
// gitSha should be the first 8 characters of the git commit sha. Image is either the container image
5555
// location for the dockerfile app the absolute url to the tar file for a buldpack app.
5656
func CreateBuild(c *drycc.Client, username, app, image, stack, gitSha string, procfile api.ProcessType,
5757
dockerfile string) (int, error) {

0 commit comments

Comments
 (0)