File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed
Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -122,9 +122,13 @@ RUN gem install bundler -v 2.3.26 && \
122122 apt-get update && \
123123 apt-get install -y --no-install-recommends ruby-dev
124124
125- ADD go.mod go.mod
126- ADD go.sum go.sum
127- RUN go build -o /usr/local/bin/ory github.com/ory/cli
125+ ARG ORY_CLI_VERSION=1.1.0
126+
127+ RUN wget https://github.com/ory/cli/releases/download/v${ORY_CLI_VERSION}/ory_${ORY_CLI_VERSION}-linux_64bit.tar.gz \
128+ && tar xf ory_${ORY_CLI_VERSION}-linux_64bit.tar.gz \
129+ && mv ory /usr/local/bin/ory \
130+ && chmod +x /usr/local/bin/ory \
131+ && rm ory_${ORY_CLI_VERSION}-linux_64bit.tar.gz
128132
129133RUN swagger version
130134RUN ory version
Original file line number Diff line number Diff line change 1-
21# Formats the code
3- .PHONY : format
2+ .PHONY : format docker
3+
44format : node_modules
55 npm exec -- prettier --write ' contrib/**/*{.ts,.js}'
66
77node_modules : package-lock.json
88 npm ci
99 touch node_modules
10+
11+ docker :
12+ docker build -t ory/sdk:latest .
You can’t perform that action at this time.
0 commit comments