File tree 2 files changed +12
-5
lines changed
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 && \
122
122
apt-get update && \
123
123
apt-get install -y --no-install-recommends ruby-dev
124
124
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
128
132
129
133
RUN swagger version
130
134
RUN ory version
Original file line number Diff line number Diff line change 1
-
2
1
# Formats the code
3
- .PHONY : format
2
+ .PHONY : format docker
3
+
4
4
format : node_modules
5
5
npm exec -- prettier --write ' contrib/**/*{.ts,.js}'
6
6
7
7
node_modules : package-lock.json
8
8
npm ci
9
9
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