Skip to content

Commit

Permalink
remove buildplatform for Quay
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwiedekopf committed Jun 9, 2023
1 parent e9c3b27 commit fa08769
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
FROM --platform=$BUILDPLATFORM azul/zulu-openjdk:17
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN echo "Running on $BUILDPLATFORM, building for $TARGETPLATFORM"
FROM azul/zulu-openjdk:17
WORKDIR /app
ADD . /app
RUN ./gradlew clean jar
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,11 @@ By default, the application will be exposed on port 4242, and you can change thi
For a permanent deployment, you will need to also adjust the public address in the configuration file to match your
hostname, so that the proxy can rewrite the URLs in the responses from the central server correctly. Currently, this app
doesn't do TLS termination, so you will need to put it behind a reverse proxy that does TLS termination for you if
required. If you do so, also adjust the protocol in the configuration file to `https`.
required. If you do so, also adjust the protocol in the configuration file to `https`.

If you need to change the build architecture (e.g. when running on an ARM-based system), it is recommended to build the
docker container from source. Simply uncomment the following line from the docker-compose file:

```
# build: .
```
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: '3'
services:
proxy:
image: quay.io/itcrl/termserver-dfn-proxy:latest
#build: .
ports:
- "4242:4242"
volumes:
Expand Down

0 comments on commit fa08769

Please sign in to comment.