This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################################### | |
FROM golang:1.19-alpine3.16 as builder | |
ARG TIER_VERSION | |
ENV TIER_VERSION=${TIER_VERSION} | |
WORKDIR /go/tier | |
ENV CGO_ENABLED=0 | |
RUN apk add git alpine-sdk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am gordalina on github. | |
* I am gordalina (https://keybase.io/gordalina) on keybase. | |
* I have a public key whose fingerprint is FBD6 9CB2 26EE 7767 DCE8 ECCF F7E8 BD49 9091 83F5 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Controller | |
public function linkAction(Request $request) | |
{ | |
if (false === $request->attributes->has('link')) { | |
throw new HttpException(400, 'Link header was not provided'); | |
} |