Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-openldap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
et-public
docker-openldap
Commits
f15fbb7f
Commit
f15fbb7f
authored
3 years ago
by
Xueshan Feng
Browse files
Options
Downloads
Patches
Plain Diff
Add stanford-server-directory repository.
parent
d9bae1af
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
Dockerfile
+19
-0
19 additions, 0 deletions
Dockerfile
build.sh
+1
-1
1 addition, 1 deletion
build.sh
env.sh
+1
-2
1 addition, 2 deletions
env.sh
with
22 additions
and
4 deletions
.gitlab-ci.yml
+
1
−
1
View file @
f15fbb7f
...
...
@@ -29,6 +29,6 @@ build:
--cache=false
--context $CI_PROJECT_DIR
--dockerfile $CI_PROJECT_DIR/Dockerfile
--destination $REGISTRY_IMAGE:2.
5.7
-buster
--destination $REGISTRY_IMAGE:2.
4.59
-buster
--destination $REGISTRY_IMAGE:$CI_COMMIT_SHA
## End of Job
This diff is collapsed.
Click to expand it.
Dockerfile
+
19
−
0
View file @
f15fbb7f
...
...
@@ -9,6 +9,7 @@ FROM debian:buster-slim
LABEL
maintainer="sfeng@stanford.edu"
ENV
DEBIAN_FRONTEND noninteractive
RUN
apt-get update
&&
\
apt-get
install
-y
-qq
\
ca-certificates
\
...
...
@@ -20,9 +21,27 @@ RUN apt-get update && \
openssl
\
lmdb-utils
\
krb5-user
\
gnugpg
\
kstart
\
procps
# local apt repos
RUN
apt-get
-qq
update
\
&&
count
=
0
\
&&
until
apt-key adv
--keyserver
keyserver.ubuntu.com
--recv-keys
FDF37CD4279D4962
||
[
$count
-eq
5
]
;
\
do
\
count
=
`
expr
$count
+ 1
`
;
sleep
$count
;
\
done
# Add souces file to find stanford-server-directory package
ADD
etc/apt/sources.list.d/stanford.list /etc/apt/sources.list.d/stanford.list
ADD
etc/apt/sources.list.d/local.list /etc/apt/sources.list.d/local.list
RUN
apt-get update
--allow-unauthenticated
\
&&
apt-get
--assume-yes
--allow-unauthenticated
install
--no-install-recommends
\
stanford-keyring
\
libreadonly-perl
\
stanford-server-directory
# Copy software from stage image
COPY
--from=builder /artifacts /
...
...
This diff is collapsed.
Click to expand it.
build.sh
+
1
−
1
View file @
f15fbb7f
#!/bin/bash -e
# Maintainer: sfeng@stanford.edu
OPENLDAP_VERSION
=
openldap-2.
5.7
OPENLDAP_VERSION
=
openldap-2.
4.59
CYRUS_SASL_VERSION
=
cyrus-sasl-2.1.27
OPENLDAP_TARBALL
=
ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/
${
OPENLDAP_VERSION
}
.tgz
CYRUS_SASL_TARBALL
=
https://github.com/cyrusimap/cyrus-sasl/releases/download/
${
CYRUS_SASL_VERSION
}
/
${
CYRUS_SASL_VERSION
}
.tar.gz
...
...
This diff is collapsed.
Click to expand it.
env.sh
+
1
−
2
View file @
f15fbb7f
...
...
@@ -8,8 +8,7 @@ export DRONE_SERVER=https://drone.svc.stanford.edu
export
DRONE_REPO
=
authnz/docker-
${
DOCKER_IMAGE
}
export
DRONE_SEC_FILE
=
.drone.sec
export
DRONE_REGISTRY_FILE
=
.drone.reg
#export DOCKER_IMAGE_VERSION=2.4.58-buster
export
DOCKER_IMAGE_VERSION
=
2.5.7
export
DOCKER_IMAGE_VERSION
=
2.4.59-buster
# GitLab configuration
export
GITLAB_SERVER
=
https://code.stanford.edu
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment