chore(go): load addresses data in image

Addresses is encrypted using [`age`][0].

[0]: https://github.com/FiloSottile/age
This commit is contained in:
João Paulo Dubas 2024-08-10 12:35:12 +00:00
parent e76aaf999e
commit adc39dc755
Signed by: joao.dubas
SSH Key Fingerprint: SHA256:V1mixgOGRc/YMhGx/DNkOSmJxgA2vHNrDZEk3wt/kOA
2 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,8 @@ COPY --from=builder /usr/local/bin/libpostal_data /usr/local/bin/libpostal_data
RUN ln -s /usr/local/lib/libpostal.so.1.0.1 /usr/local/lib/libpostal.so.1 \
&& ln -s /usr/local/lib/libpostal.so.1.0.1 /usr/local/lib/libpostal.so \
&& ldconfig
WORKDIR /opt/src/config/data
COPY ./config/data/addresses.csv ./
WORKDIR /opt/src/app
COPY ./go .
RUN go get ... \

Binary file not shown.