Skip to content

Commit

Permalink
Add register2fa tag to server build command
Browse files Browse the repository at this point in the history
The server build command in the Dockerfile has been updated with a new tag - register2fa. This tag is essential to incorporate two-factor registration functionality into the build.

Signed-off-by: Christian Roessner <c@roessner.co>
  • Loading branch information
Christian Roessner committed May 7, 2024
1 parent 0477b13 commit 486d0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY . ./
# Set necessarry environment vairables and compile the app
ENV CGO_ENABLED=1 GOOS=linux GOARCH=amd64
RUN apk add --no-cache build-base
RUN cd server && go build -mod=vendor -tags="sonic avx" -ldflags="-s" -o nauthilus .
RUN cd server && go build -mod=vendor -tags="sonic avx register2fa" -ldflags="-s" -o nauthilus .
RUN cd docker-healthcheck && go build -mod=vendor -ldflags="-s" -o healthcheck .
RUN cd contrib/smtp-server && go build -mod=vendor -ldflags="-s" -o fakesmtp .
RUN cd contrib/imap-server && go build -mod=vendor -ldflags="-s" -o fakeimap .
Expand Down

0 comments on commit 486d0cb

Please sign in to comment.