1
0
mirror of https://github.com/beego/bee.git synced 2024-12-22 10:00:50 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
RS
01569d265c
Update dockerize.go
- gedep is deprecated. (https://github.com/tools/godep)
  thus Dockerfile not building due to the following error:
  => ERROR [2/6] RUN go get github.com/tools/godep
  ...
  'go get' is no longer supported outside a module.


main changes in this commit
- Changed outdated Dockerfile in dockerBuildTemplate
- hardcoding baseimage version "golang:1.20.2" because this version is latest (At the time of this commit) and working 
- used Dockerfile examples from official golang image on docker.com (https://docs.docker.com/language/golang/build-images/ & https://hub.docker.com/_/golang)
- Also added new feature to generate docker-compose.yaml, which uses the generated Dockerfile as a build
- docker-compose up -d works with Docker Compose version v2.17.2
- changed and tested expose ports - working for Dockerfile and docker-compose.yaml
2023-04-02 03:40:14 +02:00
Yu Huang
d0cfcd96ba fix lint with uncoditional strings.Replace 2021-06-17 11:02:31 -04:00
Ming Deng
06e09b0f87 upgrade version to 2 2020-12-16 13:35:23 +08:00
scrpgil
32e7b144f9 Fix mistake of execution directory by dockerBuldTemplate 2017-03-20 22:57:09 +09:00
scrpgil
8d646b4be1 fix docker build error by dockerBuildTemplate 2017-03-19 22:01:19 +09:00
Sergey Lanzman
c538bfbc8f Refactor!
create sub packages
delete unused code
delete code from not use command cmdRouter,cmdTest, cmdRundocs
make command plugins
check with gosimple,staticcheck,go vet,unused,unconvert
2017-03-10 11:48:26 +02:00