5 changed files with 44 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||||
|
FROM docker.io/nginxinc/nginx-unprivileged:1.25-alpine |
||||
|
|
||||
|
ADD . /usr/src/helm-charts |
||||
|
|
||||
|
USER 0 |
||||
|
|
||||
|
RUN curl -sSfL https://get.helm.sh/helm-v3.12.0-linux-amd64.tar.gz | tar -zxv -C /usr/local/bin --strip-components=1 \ |
||||
|
&& mkdir -p /tmp/helm-repository \ |
||||
|
&& for chart in /usr/src/helm-charts/*/; do helm package -d /usr/share/nginx/html "$chart"; done \ |
||||
|
&& helm repo index --url "http://helm-charts.fruits-dev.svc:8080/" /usr/share/nginx/html |
||||
|
|
||||
|
USER 101 |
||||
@ -0,0 +1,5 @@ |
|||||
|
apiVersion: v2 |
||||
|
name: sql-server-2019 |
||||
|
type: application |
||||
|
version: 0.0.1 |
||||
|
appVersion: "0.0.1" |
||||
@ -0,0 +1,12 @@ |
|||||
|
FROM quay.io/fedora/fedora:38 |
||||
|
|
||||
|
# Unattended installation |
||||
|
ADD install-sqlcmd /usr/local/bin/install-sqlcmd |
||||
|
|
||||
|
RUN dnf install -y expect \ |
||||
|
&& curl -sSfL https://packages.microsoft.com/config/rhel/8/prod.repo -o /etc/yum.repos.d/msprod.repo \ |
||||
|
&& /usr/local/bin/install-sqlcmd \ |
||||
|
&& dnf clean all |
||||
|
|
||||
|
ENTRYPOINT [ "/opt/mssql-tools/bin/sqlcmd" ] |
||||
|
CMD [ ] |
||||
@ -0,0 +1,8 @@ |
|||||
|
#!/usr/bin/expect -f |
||||
|
|
||||
|
spawn dnf install -y mssql-tools unixODBC-devel |
||||
|
expect "Do you accept the license terms? (Enter YES or NO)\n" |
||||
|
send -- "YES\n" |
||||
|
expect "Do you accept the license terms? (Enter YES or NO)\n" |
||||
|
send -- "YES\n" |
||||
|
expect eof |
||||
@ -0,0 +1,7 @@ |
|||||
|
saPassword: "R3dH4t1!" |
||||
|
database: |
||||
|
name: "eShop" |
||||
|
owner: |
||||
|
username: "eShop" |
||||
|
password: "R3dH4t1!" |
||||
|
schema: "eShop" |
||||
Loading…
Reference in new issue