mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 03:37:46 +08:00
feat: modify the packaged image (#1353)
This commit is contained in:
parent
637f3a03aa
commit
a5fc01a942
@ -168,7 +168,7 @@ func (m *Manager) TenantServiceConfigFileDao() dao.TenantServiceConfigFileDao {
|
||||
//TenantServiceConfigFileDaoTransactions -
|
||||
func (m *Manager) TenantServiceConfigFileDaoTransactions(db *gorm.DB) dao.TenantServiceConfigFileDao {
|
||||
return &mysqldao.TenantServiceConfigFileDaoImpl{
|
||||
DB: m.db,
|
||||
DB: db,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM goodrainapps/alpine:3.4
|
||||
FROM goodrainapps/alpine:latest
|
||||
ARG RELEASE_DESC
|
||||
RUN apk --no-cache add libstdc++ ca-certificates openssl openssl-dev
|
||||
|
||||
@ -14,4 +14,4 @@ EXPOSE 6363
|
||||
EXPOSE 6362
|
||||
VOLUME [ "/etc/goodrain" ]
|
||||
ENV RELEASE_DESC=${RELEASE_DESC}
|
||||
ENTRYPOINT ["/run/entrypoint.sh"]
|
||||
ENTRYPOINT ["/run/entrypoint.sh"]
|
@ -78,7 +78,7 @@ build::image() {
|
||||
local OUTPATH="./_output/binary/$GOOS/${BASE_NAME}-$1"
|
||||
local build_image_dir="./_output/image/$1/"
|
||||
local source_dir="./hack/contrib/docker/$1"
|
||||
local BASE_IMAGE_VERSION=${BUILD_BASE_IMAGE_VERSION:-'3.4'}
|
||||
local BASE_IMAGE_VERSION=${BUILD_BASE_IMAGE_VERSION:-'latest'}
|
||||
local DOCKERFILE_BASE=${BUILD_DOCKERFILE_BASE:-'Dockerfile'}
|
||||
mkdir -p "${build_image_dir}"
|
||||
chmod 777 "${build_image_dir}"
|
||||
|
Loading…
Reference in New Issue
Block a user