Skip to content

Commit

Permalink
chore: synchronize workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jan 10, 2025
1 parent 99d1557 commit e0c0a4a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .docker/Dockerfile-test-hsm
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# This file is only used for testing the HSM feature of Hydra. It is not used in production nor is it being
# distributed.
FROM golang:1.22-alpine3.21 AS builder
FROM golang:1.23-alpine3.21 AS builder

RUN apk -U --no-cache --upgrade --latest add build-base git gcc bash

Expand All @@ -13,10 +11,9 @@ COPY internal/httpclient/go.* ./internal/httpclient
ENV CGO_ENABLED 1

RUN go mod download

COPY . .

FROM builder as build-hydra
RUN go build -tags sqlite,json1,hsm -o /usr/bin/hydra

ENV HSM_ENABLED=true
ENV HSM_LIBRARY=/usr/lib/softhsm/libsofthsm2.so
Expand Down

0 comments on commit e0c0a4a

Please sign in to comment.