feat: modify the packaged image (#1353)

This commit is contained in:
张启航 2022-09-30 10:52:50 +08:00 committed by GitHub
parent 637f3a03aa
commit a5fc01a942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -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,
}
}

View File

@ -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"]

View File

@ -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}"