mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 06:24:16 +00:00
9f7205e80f
* fix test suite * rustfmt * need Row * test: fix integration test scripts and update the upstream supported databases Signed-off-by: Atkins Chang <atkinschang@gmail.com> * ci(actions): update supported databases Signed-off-by: Atkins Chang <atkinschang@gmail.com> * ci(actions): use `pg_isready` instead of `sleep` to avoid error cause by database not ready Signed-off-by: Atkins Chang <atkinschang@gmail.com> * feat(core): add `trait PgConnectionInfo` for connection parameter status from server Signed-off-by: Atkins Chang <atkinschang@gmail.com> * test(postgres): fix integration test for postgres Signed-off-by: Atkins Chang <atkinschang@gmail.com> * test(mysql): fix integration tests Signed-off-by: Atkins Chang <atkinschang@gmail.com> * ci(actions): test database against the oldest and newest supported versions Signed-off-by: Atkins Chang <atkinschang@gmail.com> * docs(core): document `trait PgConnectionInfo` Signed-off-by: Atkins Chang <atkinschang@gmail.com> Co-authored-by: Montana Low <montanalow@gmail.com>
19 lines
521 B
Docker
19 lines
521 B
Docker
# vim: set ft=dockerfile:
|
|
ARG VERSION
|
|
FROM mcr.microsoft.com/mssql/server:${VERSION}
|
|
|
|
# Create a config directory
|
|
RUN mkdir -p /usr/config
|
|
WORKDIR /usr/config
|
|
|
|
# Bundle config source
|
|
COPY mssql/entrypoint.sh /usr/config/entrypoint.sh
|
|
COPY mssql/configure-db.sh /usr/config/configure-db.sh
|
|
COPY mssql/setup.sql /usr/config/setup.sql
|
|
|
|
# Grant permissions for to our scripts to be executable
|
|
USER root
|
|
RUN chmod +x /usr/config/entrypoint.sh
|
|
RUN chmod +x /usr/config/configure-db.sh
|
|
|
|
ENTRYPOINT ["/usr/config/entrypoint.sh"]
|