Skip to content

Commit

Permalink
use the musl build for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Leechael committed Oct 18, 2024
1 parent 2b1b656 commit bceb272
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM gcr.io/distroless/cc-debian12:nonroot
FROM gcr.io/distroless/base-debian12:nonroot

COPY ./target/release/tappd-simulator /app/tappd-simulator
COPY ./target/x86_64-unknown-linux-musl/release/tappd-simulator /app/tappd-simulator
COPY ./certs/* /app/certs/

EXPOSE 8090
Expand Down
12 changes: 12 additions & 0 deletions certs/app.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-----BEGIN CERTIFICATE-----
MIIBrjCCAVWgAwIBAgIUBoS4xF4Mtziso3ZgCZEWhVnzGVswCgYIKoZIzj0EAwIw
OzEWMBQGA1UECgwNUGhhbGEgTmV0d29yazEhMB8GA1UEAwwYUGhhbGEgS01TIENs
aWVudCBUZW1wIENBMCAXDTc1MDEwMTAwMDAwMFoYDzQwOTYwMTAxMDAwMDAwWjA7
MRYwFAYDVQQKDA1QaGFsYSBOZXR3b3JrMSEwHwYDVQQDDBhQaGFsYSBLTVMgQ2xp
ZW50IFRlbXAgQ0EwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASxhQoBeKlRAdHL
JGD+z4u1lfSDNaZmrRK5s0KMndDwivLRUT8EIELKmYnEj+q5jZQEGAt+5B/xSh4e
NECuQZnHozUwMzAdBgNVHQ4EFgQUaBQImsevys2kJGMEZTX91QA/fCIwEgYDVR0T
AQH/BAgwBgEB/wIBATAKBggqhkjOPQQDAgNHADBEAiBTWlc+GCbdDoU5LeLZ3+Lb
+WFd2dOkFM/7Tt0zEUfU5gIgRS3BjR77CaHL8g1kUwB1FqFzBxcoRHyrR1fpxHAZ
PpY=
-----END CERTIFICATE-----
5 changes: 5 additions & 0 deletions certs/app.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN PRIVATE KEY-----
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgE+FtHX7frGyDu0MF
c6HsZ7Nichmcc1gk/eQGmEXq4MyhRANCAASxhQoBeKlRAdHLJGD+z4u1lfSDNaZm
rRK5s0KMndDwivLRUT8EIELKmYnEj+q5jZQEGAt+5B/xSh4eNECuQZnH
-----END PRIVATE KEY-----

0 comments on commit bceb272

Please sign in to comment.