Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jetty
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Legacy
jetty
Commits
84c47130
Commit
84c47130
authored
10 years ago
by
Erik Hedenström
Browse files
Options
Downloads
Patches
Plain Diff
Switched to codemate java base.
parent
a49f755b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+2
-31
2 additions, 31 deletions
Dockerfile
with
2 additions
and
31 deletions
Dockerfile
+
2
−
31
View file @
84c47130
# Jetty
#
# REPOSITORY registry.codemate.se/jetty
# VERSION 1.
0
.0
# VERSION 1.
1
.0
FROM
dockerfile/java
FROM
registry.codemate.se/java:1.0.0
MAINTAINER
Erik Hedenström <erik@codemate.se>
# Set the env variables to non-interactive
ENV
DEBIAN_FRONTEND noninteractive
ENV
DEBIAN_PRIORITY critical
ENV
DEBCONF_NOWARNINGS yes
# Upgrade packages
RUN
\
apt-get
-y
update
&&
\
apt-get
-y
upgrade
# Set Timezone
RUN
\
echo
"Europe/Stockholm"
>
/etc/timezone
&&
\
dpkg-reconfigure
-f
noninteractive tzdata
# Fix locale
RUN
\
locale-gen en_US.UTF-8
&&
\
echo
"LANG=
\"
en_US.UTF-8
\"
"
>
/etc/default/locale
&&
\
echo
"LANGUAGE=
\"
en_US.UTF8
\"
"
>>
/etc/default/locale
&&
\
echo
"LC_ALL=
\"
en_US.UTF8
\"
"
>>
/etc/default/locale
# Import self-signed cert as trusted CA
RUN
\
mkdir
-p
/usr/share/ca-certificates/extra
&&
\
openssl s_client
-servername
cert.codemate.se
-connect
codemate.se:443 </dev/null |
sed
-ne
'/--BEGIN CERTIFICATE--/,/--END CERTIFICATE--/p'
>
/usr/share/ca-certificates/extra/codemate.crt
&&
\
update-ca-certificates
&&
\
keytool
-import
-noprompt
-trustcacerts
-keystore
/usr/lib/jvm/java-7-oracle/jre/lib/security/cacerts
-storepass
changeit
-noprompt
-alias
codemate-self-signed
-file
/usr/share/ca-certificates/extra/codemate.crt
# Install and configure Exim
RUN
\
apt-get
-y
install
exim4-daemon-light
&&
\
...
...
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