Fix missing assets in a server release (#634)

* Fix missing assets in a server release

* Fix missing library error
This commit is contained in:
Sung 2023-03-04 13:26:36 +11:00 committed by GitHub
commit c3214f12f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -60,6 +60,10 @@ ifndef version
$(error version is required. Usage: make version=0.1.0 build-server)
endif
@echo "==> building server assets"
@(cd "${currentDir}/pkg/server/assets/" && ./styles/build.sh)
@(cd "${currentDir}/pkg/server/assets/" && ./js/build.sh)
@echo "==> building server"
@${currentDir}/scripts/server/build.sh $(version)
.PHONY: build-server

View file

@ -5,7 +5,8 @@ RUN test -n "$tarballName"
# add dependency to execute a golang binary with dynamical linking.
RUN apk add --no-cache \
libc6-compat
libc6-compat \
gcompat
WORKDIR dnote