mirror of
https://github.com/dnote/dnote
synced 2026-03-14 14:35:50 +01:00
Fix missing assets in a server release (#634)
* Fix missing assets in a server release * Fix missing library error
This commit is contained in:
parent
4258ea1715
commit
c3214f12f0
2 changed files with 6 additions and 1 deletions
4
Makefile
4
Makefile
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue